File tree Expand file tree Collapse file tree 3 files changed +29
-5
lines changed
Expand file tree Collapse file tree 3 files changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,10 @@ xcuserdata/
2222
2323# Carthage
2424Carthage /
25+
26+ # Swift Package Manager
27+ #
28+ # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
29+ # Packages/
30+ # Package.pins
31+ .build /
Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.2
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
14import PackageDescription
25
36let package = Package (
4- name: " SwiftyTimer " ,
5- dependencies: [ ] ,
6- exclude: [ " Sources/Info.plist " , " Sources/SwiftyTimer.h " , " SwiftyTimerTests " ]
7-
8- )
7+ name: " SwiftyTimer " ,
8+ products: [
9+ // Products define the executables and libraries produced by a package, and make them visible to other packages.
10+ . library(
11+ name: " SwiftyTimer " ,
12+ targets: [ " SwiftyTimer " ] ) ,
13+ ] ,
14+ dependencies: [
15+ // Dependencies declare other packages that this package depends on.
16+ // .package(url: /* package url */, from: "1.0.0"),
17+ ] ,
18+ 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 which this package depends on.
21+ . target(
22+ name: " SwiftyTimer " ,
23+ dependencies: [ ] ) ,
24+ ]
25+ )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments