-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
28 lines (20 loc) · 1.05 KB
/
Makefile
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
bootstrap: secrets
open: # Open project in Xcode
open God.xcworkspace
clean: # Clean all build folders
rm -rf **/*/.build
secrets: # Set secrets
echo $(FILE_FIREBASE_STAGING) | base64 -D > App/Multiplatform/Staging/GoogleService-Info.plist
echo $(FILE_FIREBASE_PRODUCTION) | base64 -D > App/Multiplatform/Production/GoogleService-Info.plist
install-template: # Install template
@swift build -c release --package-path ./BuildTools/XCTemplateInstallerTool --product XCTemplateInstaller
./BuildTools/XCTemplateInstallerTool/.build/release/XCTemplateInstaller --xctemplate-path XCTemplates/TCA.xctemplate
gql-schema:
@cp ../godapp.jp/apps/god-server/schema.gql ./GraphQL/schema.graphqls
apollo-cli-install:
@swift package --package-path ./BuildTools/ApolloTool --allow-writing-to-package-directory apollo-cli-install
apollo-generate:
./BuildTools/ApolloTool/apollo-ios-cli generate --ignore-version-mismatch
format:
@swift build -c release --package-path ./BuildTools/SwiftFormatTool --product swiftformat
./BuildTools/SwiftFormatTool/.build/release/swiftformat ./