forked from apple/swift-protobuf
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
35 lines (32 loc) · 1.2 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// swift-tools-version:4.2
// Package.swift
//
// Copyright (c) 2014 - 2018 Apple Inc. and the project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See LICENSE.txt for license information:
// https://github.com/apple/swift-protobuf/blob/master/LICENSE.txt
//
import PackageDescription
let package = Package(
name: "SwiftProtobuf",
products: [
.executable(name: "protoc-gen-swift", targets: ["protoc-gen-swift"]),
.library(name: "SwiftProtobuf", targets: ["SwiftProtobuf"]),
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "protoc-gen-swift",
dependencies: ["SwiftProtobufPluginLibrary", "SwiftProtobuf"]),
.target(name: "Conformance",
dependencies: ["SwiftProtobuf"]),
.testTarget(name: "SwiftProtobufTests",
dependencies: ["SwiftProtobuf"]),
.testTarget(name: "SwiftProtobufPluginLibraryTests",
dependencies: ["SwiftProtobufPluginLibrary"]),
],
swiftLanguageVersions: [.v4, .v4_2, .version("5")]
)