Skip to content

Commit d14105d

Browse files
authored
Migrate to using SPM (#4)
1 parent 5ddd67e commit d14105d

40 files changed

+86
-1758
lines changed

.github/workflows/publish.yml

-25
This file was deleted.

.github/workflows/validate.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: publish
2+
on: [push]
3+
jobs:
4+
run-tests:
5+
name: Test
6+
runs-on: [self-hosted, macOS]
7+
strategy:
8+
matrix:
9+
destination:
10+
[
11+
'platform=iOS Simulator,name=iPhone 12 Pro',
12+
]
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@v2
16+
- name: Generate Xcodeproj
17+
run: swift package generate-xcodeproj
18+
- name: Run Tests
19+
run: xcodebuild test -scheme DSKit-Package -destination "${destination}"
20+
env:
21+
destination: ${{ matrix.destination }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,4 @@ iOSInjectionProject/
9191

9292
# MacOS
9393
.DS_Store
94+
.swiftpm/

Example/DSKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DSKit.podspec

-41
This file was deleted.

DSKit/Assets/.gitkeep

Whitespace-only changes.

DSKit/Classes/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)