-
Notifications
You must be signed in to change notification settings - Fork 23
/
project.yml
68 lines (65 loc) · 2.19 KB
/
project.yml
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
name: WakaTime
options:
bundleIdPrefix: macos-wakatime
createIntermediateGroups: true
packages:
AppUpdater:
url: https://github.com/alanhamlett/AppUpdater
branch: master
Firebase:
url: https://github.com/firebase/firebase-ios-sdk
from: 10.0.0
targets:
WakaTime:
type: application
platform: macOS
deploymentTarget: 10.15
sources: [WakaTime]
settings:
CURRENT_PROJECT_VERSION: local-build
MARKETING_VERSION: local-build
INFOPLIST_FILE: WakaTime/WakaTime-Info.plist
GENERATE_INFOPLIST_FILE: YES
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: ${SV_DEVELOPMENT_TEAM}
ENABLE_HARDENED_RUNTIME: YES
DEAD_CODE_STRIPPING: YES
SWIFT_OBJC_BRIDGING_HEADER: WakaTime/WakaTime-Bridging-Header.h
postCompileScripts:
- script: ./Scripts/Lint/swiftlint lint --quiet
name: Swiftlint
dependencies:
- target: WakaTime Helper
- package: AppUpdater
- package: Firebase
product: FirebaseCrashlytics
postBuildScripts:
- script: |
LOGIN_ITEMS_DIR="$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.app/Contents/Library/LoginItems"
rm -rf "$LOGIN_ITEMS_DIR"
mkdir -p "$LOGIN_ITEMS_DIR"
mv "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.app/Contents/Resources/WakaTime Helper.app" "$LOGIN_ITEMS_DIR/"
name: Move "WakaTime Helper.app" to LoginItems
- script: Scripts/Firebase/upload-dSYM.sh
name: Firebase
inputFiles:
- ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
- $(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)
WakaTime Helper:
type: application
platform: macOS
deploymentTarget: 10.15
sources: [WakaTime Helper]
settings:
CURRENT_PROJECT_VERSION: local-build
MARKETING_VERSION: local-build
INFOPLIST_FILE: WakaTime Helper/WakaTime Helper-Info.plist
GENERATE_INFOPLIST_FILE: YES
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: ${SV_DEVELOPMENT_TEAM}
ENABLE_HARDENED_RUNTIME: YES
DEAD_CODE_STRIPPING: YES
SKIP_INSTALL: YES
postCompileScripts:
- script: ./Scripts/Lint/swiftlint lint --quiet
name: Swiftlint