Skip to content

Commit

Permalink
Merge pull request #24 from jaceklyp/develop
Browse files Browse the repository at this point in the history
Make Swift Package
  • Loading branch information
jaceklyp authored Jun 21, 2023
2 parents 418eaf0 + e746b87 commit ddf00bd
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ jobs:
- name: Run tests
run: ./run_test.sh
shell: bash

- name: Run Swift build
run: |
swift build
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
cmake-build-debug
build
build
.swiftpm/
.DS_Store
27 changes: 27 additions & 0 deletions Package.swift
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
)

0 comments on commit ddf00bd

Please sign in to comment.