-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproject.yml
More file actions
74 lines (73 loc) · 2.25 KB
/
project.yml
File metadata and controls
74 lines (73 loc) · 2.25 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: LongWeekend
options:
bundleIdPrefix: com.funzin
minimumXcodeGenVersion: 2.23.1
postGenCommand: make install-pod
deploymentTarget:
iOS: 13.0
packages:
SwiftyUserDefaults:
url: https://github.com/sunshinejr/SwiftyUserDefaults
version: 5.3.0
HolidayJp:
url: https://github.com/funzin/holiday_jp-swift
branch: remove-unused-date
Firebase:
url: https://github.com/firebase/firebase-ios-sdk
version: 8.0.0
targets:
LongWeekend:
type: application
platform: iOS
sources: [LongWeekend]
dependencies:
- sdk: AppTrackingTransparency.framework
weak: true
- package: HolidayJp
- package: SwiftyUserDefaults
- package: Firebase
product: FirebaseAnalytics
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.funzin.longweekend
MARKETING_VERSION: 2.0.0
EXCLUDED_ARCHS[sdk=iphonesimulator*]: arm64
CURRENT_PROJECT_VERSION: 1
VERSIONING_SYSTEM: apple-generic
INFOPLIST_FILE: LongWeekend/Resource/Info.plist
CODE_SIGN_STYLE: Manual
INFOPLIST_PREPROCESS: YES
prebuildScripts:
- name: Run swiftformat
script: make swiftformat
- name: Run LicensPlist
script: |
if [ $CONFIGURATION = "Debug" ]; then
make license-plist
fi
- name: Configure Admob
script: |
plistBuddy="/usr/libexec/PlistBuddy"
Resource="${SRCROOT}/LongWeekend/Resource/"
infoPlistFileDestination="${TEMP_DIR}/Preprocessed-Info.plist"
envPath="${SRCROOT}/.env"
if [ -e $envPath ]; then
. $envPath
identifier=${GAD_APPLICATION_ID}
echo ${infoPlistFileDestination}
echo ${identifier}
$plistBuddy -c "Set :GADApplicationIdentifier ${identifier}" ${infoPlistFileDestination}
fi
postbuildScripts:
- name: Run SwiftLint
script: make swiftlint
scheme:
gatherCoverageData: true
testTargets:
- LongWeekendTests
LongWeekendTests:
type: bundle.unit-test
platform: iOS
sources: [LongWeekendTests]
dependencies:
- target: LongWeekend