Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support swift package #25

Merged
merged 45 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4e45dc5
Merge branch 'main' into support-swift-package
Muhammadbarznji Mar 22, 2024
165a135
Add Package.swift for SPM; refactor module structure
Muhammadbarznji Mar 22, 2024
ad250aa
Change cocopods source file path
Muhammadbarznji Mar 22, 2024
95ccd36
Fixed database bundle path for cocopod and SMP
Muhammadbarznji Mar 22, 2024
1bcbf48
Update/Add install guiad for SPM to README.
Muhammadbarznji Mar 22, 2024
a3569ca
Remove Tests from example
Muhammadbarznji Mar 23, 2024
dc9f5a3
Change the example to SwiftUI.
Muhammadbarznji Mar 23, 2024
90cb607
Rename Example to MuslimDataExample.
Muhammadbarznji Mar 23, 2024
46828ef
Update GRDB version to v6.26.0
kosratdev Mar 24, 2024
08ec3d7
Remove scripts folder as it is not used
kosratdev Mar 24, 2024
2495f36
Improve azkar repository and tests
kosratdev Mar 24, 2024
60a064b
Move language to outside of the name folder
kosratdev Mar 24, 2024
eaf3dc6
Format database queries
kosratdev Mar 24, 2024
b64a126
Format database queries
kosratdev Mar 24, 2024
7c25136
Format extension files
kosratdev Mar 24, 2024
13e0da4
Remove internal access as it is a default access
kosratdev Mar 24, 2024
8f1f2cf
Refactor names of allah tests
kosratdev Mar 24, 2024
264d9a5
Improve prayer times tests
kosratdev Mar 24, 2024
8a5a30a
Add unit tests to date format and prayers
kosratdev Mar 24, 2024
5029245
Rearrange test files in the folders
kosratdev Mar 24, 2024
2d99345
Update package specs
kosratdev Mar 24, 2024
801ec02
Remove _Pods.xcodeproj file, it is not needed anymore
kosratdev Mar 24, 2024
33f6fb5
Update migration guide to include muslim repository
kosratdev Mar 24, 2024
9a1fcf2
Update readme file
kosratdev Mar 24, 2024
21f2d74
Fix a bold style issue in migration file
kosratdev Mar 24, 2024
4c423fa
Improve migration file
kosratdev Mar 24, 2024
95bf977
Improve migration file
kosratdev Mar 24, 2024
03e06fd
Update GitHub action CI tests
kosratdev Mar 24, 2024
a027304
Update GitHub action CI tests
kosratdev Mar 24, 2024
09f07b6
Remove print statement in the tests
kosratdev Mar 24, 2024
9ce71b7
Simplify names screen in the Example app
kosratdev Mar 25, 2024
c9d23b1
Add azkar chapter and items screens
kosratdev Mar 25, 2024
963c58d
Add my prayers screen to the example app
kosratdev Mar 25, 2024
0501eb1
Add location screen for the example app
kosratdev Mar 26, 2024
573ed33
Update prayer screen title
kosratdev Mar 26, 2024
0a14ced
Update screenshots
kosratdev Mar 26, 2024
327e5f4
Test read me image relative path
kosratdev Mar 26, 2024
fec3ae0
Update image path in the read me file
kosratdev Mar 26, 2024
3baa164
Align screenshots in the read me file
kosratdev Mar 26, 2024
25643b0
Update readme file
kosratdev Mar 26, 2024
7121d5b
Add all deployment targets to the podspec
kosratdev Mar 30, 2024
2c4ed23
Remove unused variable in AzkarItemsScreen
kosratdev Mar 30, 2024
78700d6
Fix a typo in the documentation of toDBDate
kosratdev Mar 30, 2024
16ab244
Fix a typo in the file name of SequenceExtensions
kosratdev Mar 30, 2024
e8b544b
Add country_id and prayer_dependent_id indices for the location table
kosratdev Mar 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading