Skip to content

Commit 17721f7

Browse files
committed
Merge branch 'master' into zllak-swift401
2 parents 62a949f + 7333a97 commit 17721f7

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

[email protected]

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// swift-tools-version:4.0
2+
3+
// Package.swift
4+
//
5+
// Copyright (c) 2014 - 2017 Apple Inc. and the project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See LICENSE.txt for license information:
9+
// https://github.com/apple/swift-protobuf/blob/master/LICENSE.txt
10+
//
11+
12+
import PackageDescription
13+
14+
let package = Package(
15+
name: "SwiftProtobuf",
16+
products: [
17+
.executable(name: "protoc-gen-swift", targets: ["protoc-gen-swift"]),
18+
.library(name: "SwiftProtobuf", type: .static, targets: ["SwiftProtobuf"]),
19+
],
20+
targets: [
21+
.target(name: "SwiftProtobuf"),
22+
.target(name: "PluginLibrary",
23+
dependencies: ["SwiftProtobuf"]),
24+
.target(name: "protoc-gen-swift",
25+
dependencies: ["PluginLibrary", "SwiftProtobuf"]),
26+
.target(name: "Conformance",
27+
dependencies: ["SwiftProtobuf"]),
28+
.testTarget(name: "SwiftProtobufTests",
29+
dependencies: ["SwiftProtobuf"]),
30+
.testTarget(name: "PluginLibraryTests",
31+
dependencies: ["PluginLibrary"]),
32+
],
33+
swiftLanguageVersions: [3, 4]
34+
)

0 commit comments

Comments
 (0)