Skip to content

Commit 754e164

Browse files
committed
updated gitignore, added circleci config file to build and test the project
1 parent aa10eac commit 754e164

File tree

5 files changed

+627
-590
lines changed

5 files changed

+627
-590
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# For a detailed guide to building and testing on iOS, read the docs:
2+
# https://circleci.com/docs/2.0/testing-ios/
3+
4+
version: 2.1
5+
6+
jobs:
7+
build-test:
8+
9+
macos:
10+
xcode: 11.3.1 # Specify the Xcode version to use
11+
12+
steps:
13+
- checkout
14+
- run: swift package resolve # install all dependencies
15+
- run: swift build # build the package
16+
- run: swift test #test the package

.gitignore

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
#
33
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
44

5-
## Build generated
5+
## User settings
6+
xcuserdata/
7+
8+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
9+
*.xcscmblueprint
10+
*.xccheckout
11+
12+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
613
build/
714
DerivedData/
8-
9-
## Various settings
15+
*.moved-aside
1016
*.pbxuser
1117
!default.pbxuser
1218
*.mode1v3
@@ -15,15 +21,11 @@ DerivedData/
1521
!default.mode2v3
1622
*.perspectivev3
1723
!default.perspectivev3
18-
xcuserdata/
19-
20-
## Other
21-
*.moved-aside
22-
*.xccheckout
23-
*.xcscmblueprint
2424

2525
## Obj-C/Swift specific
2626
*.hmap
27+
28+
## App packaging
2729
*.ipa
2830
*.dSYM.zip
2931
*.dSYM
@@ -37,6 +39,13 @@ playground.xcworkspace
3739
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
3840
Packages/
3941
# Package.pins
42+
# Package.resolved
43+
# *.xcodeproj
44+
#
45+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
46+
# hence it is not needed unless you have added a package configuration file to your project
47+
.swiftpm
48+
4049
.build/
4150

4251
# CocoaPods
@@ -46,29 +55,36 @@ Packages/
4655
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
4756
#
4857
# Pods/
58+
#
59+
# Add this line if you want to avoid checking in source code from the Xcode workspace
60+
# *.xcworkspace
4961

5062
# Carthage
5163
#
5264
# Add this line if you want to avoid checking in source code from Carthage dependencies.
5365
# Carthage/Checkouts
5466

55-
Carthage/Build
67+
Carthage/Build/
68+
69+
# Accio dependency management
70+
Dependencies/
71+
.accio/
5672

5773
# fastlane
5874
#
59-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
60-
# screenshots whenever they are needed.
75+
# It is recommended to not store the screenshots in the git repo.
76+
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
6177
# For more information about the recommended setup visit:
6278
# https://docs.fastlane.tools/best-practices/source-control/#source-control
6379

6480
fastlane/report.xml
6581
fastlane/Preview.html
66-
fastlane/screenshots
82+
fastlane/screenshots/**/*.png
6783
fastlane/test_output
6884

6985
# Code Injection
7086
#
7187
# After new code Injection tools there's a generated folder /iOSInjectionProject
7288
# https://github.com/johnno1962/injectionforxcode
7389

74-
iOSInjectionProject/
90+
iOSInjectionProject/

0 commit comments

Comments
 (0)