-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from jaceklyp/develop
Make Swift Package
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,7 @@ jobs: | |
- name: Run tests | ||
run: ./run_test.sh | ||
shell: bash | ||
|
||
- name: Run Swift build | ||
run: | | ||
swift build |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.idea | ||
cmake-build-debug | ||
build | ||
build | ||
.swiftpm/ | ||
.DS_Store |
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,27 @@ | ||
// swift-tools-version: 5.7 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "BloomFilter", | ||
platforms: [ | ||
.iOS(.v14), | ||
.macOS(.v10_15) | ||
], | ||
products: [ | ||
.library( | ||
name: "BloomFilter", | ||
targets: ["BloomFilter"] | ||
), | ||
], | ||
targets: [ | ||
.target( | ||
name: "BloomFilter", | ||
path: "src", | ||
sources: ["BloomFilter.cpp"], | ||
publicHeadersPath: "." | ||
) | ||
], | ||
cxxLanguageStandard: .cxx11 | ||
) |