-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (28 loc) · 877 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (28 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Install HomeBrew
# Install swift-format
# Set up git pre-commit hook
# Clone env repository
# Set up .env file
init:
sh Scripts/init.sh
# Format Swift files
format:
swift-format -i -r -p .
# Read iOS Certificates
match-read:
bundle exec fastlane match development --readonly
# Update iOS Certificates
match-update:
bundle exec fastlane match development
# Pull changes in .env repository
env-pull:
@cd .env && git pull || echo "Nothing to pull"
# Push changes in .env repository
env-push:
@cd .env && git add . && git commit -m "Update env variables" || echo "Nothing to commit"
@cd .env && git push
# Generate license plist for third-party libraries
licenses:
license-plist --prefix LicensePlist --add-version-numbers \
--output-path ./GMG/Resources/Settings.bundle \
--package-path ./GMG.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved