blob: 4b3f6cbee39700ac4b44a5d73dc925953de3a9c3 [file] [log] [blame]
Kino Roya9da9eb2022-10-07 23:13:01 -07001// swift-tools-version:5.1
2// Licensed to the Apache Software Foundation (ASF) under one
3// or more contributor license agreements. See the NOTICE file
4// distributed with this work for additional information
5// regarding copyright ownership. The ASF licenses this file
6// to you under the Apache License, Version 2.0 (the
7// "License"); you may not use this file except in compliance
8// with the License. You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing,
13// software distributed under the License is distributed on an
14// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15// KIND, either express or implied. See the License for the
16// specific language governing permissions and limitations
17// under the License.
18
19import PackageDescription
20
21let package = Package(
22 name: "CrossTests",
23 products: [
24 .executable(name: "TestServer", targets: ["TestServer"]),
25 .executable(name: "TestClient", targets: ["TestClient"]),
26 ],
27 dependencies: [
28 // Dependencies declare other packages that this package depends on.
29 .package(path: "../../../lib/swift")
30 ],
31 targets: [
32 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
33 // Targets can depend on other targets in this package, and on products in packages which this package depends on.
34 .target(
35 name: "Common",
36 dependencies: ["Thrift"]),
37 .target(
38 name: "TestServer",
39 dependencies: ["Thrift", "Common"]),
40 .target(
41 name: "TestClient",
42 dependencies: ["Thrift", "Common"])
43 ]
44)