Skip to content

Commit

Permalink
Merge pull request #25 from kosratdev/support-swift-package
Browse files Browse the repository at this point in the history
Support swift package
  • Loading branch information
kosratdev committed Mar 31, 2024
2 parents ecdc806 + e8b544b commit 542a240
Show file tree
Hide file tree
Showing 278 changed files with 2,005 additions and 48,549 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ jobs:
- uses: szenius/set-timezone@v1.2
with:
timezoneMacos: "Asia/Baghdad"
- uses: actions/checkout@v3
- name: Install Cocoapods
run: |
gem install cocoapods
pod install --project-directory=Example
- name: Run Tests
run: |
set -eo pipefail
xcodebuild test -enableCodeCoverage YES -workspace Example/MuslimData.xcworkspace -scheme MuslimData-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro' | xcpretty
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.10"
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ DerivedData

Carthage/Build

### SwiftPackageManager ###
Packages
xcuserdata

# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
Expand Down
File renamed without changes.
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions Example/.swiftformat

This file was deleted.

12 changes: 0 additions & 12 deletions Example/.swiftlint.yml

This file was deleted.

719 changes: 0 additions & 719 deletions Example/MuslimData.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions Example/MuslimData.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions Example/MuslimData/AppDelegate.swift

This file was deleted.

63 changes: 0 additions & 63 deletions Example/MuslimData/AzkarChaptersViewController.swift

This file was deleted.

56 changes: 0 additions & 56 deletions Example/MuslimData/AzkarDetailViewController.swift

This file was deleted.

Loading

0 comments on commit 542a240

Please sign in to comment.