File tree Expand file tree Collapse file tree 3 files changed +20
-18
lines changed
tests/multi-language-repo Expand file tree Collapse file tree 3 files changed +20
-18
lines changed Original file line number Diff line number Diff line change
1
+ .DS_Store
2
+ /.build
3
+ /Packages
4
+ /* .xcodeproj
5
+ xcuserdata /
6
+ DerivedData /
7
+ .swiftpm /config /registries.json
8
+ .swiftpm /xcode /package.xcworkspace /contents.xcworkspacedata
9
+ .netrc
Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.7
1
+ // swift-tools-version: 5.8
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
5
5
6
6
let package = Package (
7
- name: " helloWorld " ,
8
- products: [
9
- // Products define the executables and libraries a package produces, and make them visible to other packages.
10
- . library(
11
- name: " helloWorld " ,
12
- targets: [ " helloWorld " ] ) ,
13
- ] ,
14
- dependencies: [
15
- // Dependencies declare other packages that this package depends on.
16
- // .package(url: /* package url */, from: "1.0.0"),
17
- ] ,
7
+ name: " multi-language-repo " ,
18
8
targets: [
19
- // Targets are the basic building blocks of a package. A target can define a module or a test suite.
20
- // Targets can depend on other targets in this package, and on products in packages this package depends on.
21
- . target(
22
- name: " helloWorld " ,
23
- path: " swift-custom-build/helloWorld "
24
- )
9
+ // Targets are the basic building blocks of a package, defining a module or a test suite.
10
+ // Targets can depend on other targets in this package and products from dependencies.
11
+ . executableTarget(
12
+ name: " multi-language-repo " ,
13
+ path: " Sources " ) ,
25
14
]
26
15
)
Original file line number Diff line number Diff line change
1
+ // The Swift Programming Language
2
+ // https://docs.swift.org/swift-book
3
+
4
+ print ( " Hello, world! " )
You can’t perform that action at this time.
0 commit comments