-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
41 lines (30 loc) · 983 Bytes
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
SDKROOT=macosx
envFile="$(shell ls -a | grep .env)"
ifeq ("$(shell echo ${envFile})" , "$(shell echo .env)")
include .env
export
else
AD_UNIT_ID=ca-app-pub-3940256099942544/2934735716
endif
bootstrap: install-gems set-pods-keys xcodegen
execute-xcodegen-and-pod: xcodegen install-pod
# cocoapods
install-pod:
bundle exec pod install --repo-update
# gem
install-gems:
rm -rf vendor/
gem install -N bundler
bundle install
swiftgen:
swift run --package-path CLI/_swiftgen -c release swiftgen
swiftlint:
swift run --package-path CLI/_swiftlint -c release swiftlint
license-plist:
swift run --package-path CLI/_license_plist -c release license-plist --output-path LongWeekend/Resource/Settings.bundle --prefix com.funzin.longweekend
xcodegen:
swift run --package-path CLI/_xcodegen -c release xcodegen
swiftformat:
swift run --package-path CLI/_swiftformat -c release swiftformat ./
set-pods-keys:
bundle exec pod keys set "AdUnitID" ${AD_UNIT_ID} LongWeekend