forked from hirokimu/EMTLoadingIndicator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added swift package manager support (#1)
* Added swift package manager support * Restrict platform to watchOS version 3.0 * Fix package syntax * Specify library type to dynamic * Try copying resources * Specify resource file instead of folder * Copy all resources * Try without resources * Move back to static library * Try processing resources * Try again dynamic again * Avoid importing watch kit on iOS. Revert type dynamic * Fix watch kit import * Use swift package bundle
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// swift-tools-version:5.3 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "EMTLoadingIndicator", | ||
platforms: [ | ||
.watchOS(.v3) | ||
], | ||
products: [ | ||
.library( | ||
name: "EMTLoadingIndicator", | ||
targets: ["EMTLoadingIndicator"]) | ||
], | ||
targets: [ | ||
.target( | ||
name: "EMTLoadingIndicator", | ||
path: ".", | ||
sources: ["EMTLoadingIndicator/Classes"], | ||
resources: [.process("EMTLoadingIndicator/Resources")]) | ||
] | ||
) |