-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.yml
116 lines (113 loc) · 2.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
name: Giffy
include:
- .swiftlint.yml
- path: .swiftlint.yml
relativePaths: false
options:
bundleIdPrefix: "com.uwaisalqadri"
deploymentTarget:
iOS: 17.0
postGenCommand: xcodebuild -resolvePackageDependencies
indentWidth: 2
tabWidth: 2
groupOrdering:
- order:
- Giffy
- GiffyWidget
- Packages
packages:
SDWebImageSwiftUI:
github: SDWebImage/SDWebImageSwiftUI
version: 3.0.2
Swinject:
github: Swinject/Swinject
version: 2.8.0
Lottie:
github: airbnb/lottie-spm
version: 4.3.0
netfox:
github: kasketis/netfox
version: 1.21.0
Common:
path: Modules/Common/Common
CommonUI:
path: Modules/CommonUI/CommonUI
targets:
Giffy:
type: application
platform: iOS
deploymentTarget: "17.0"
scheme:
testTargets:
- GiffyTests
gatherCoverageData: true
dependencies:
- target: GiffyWidget
- package: Common
- package: CommonUI
- package: SDWebImageSwiftUI
- package: Swinject
- package: Lottie
- package: netfox
sources:
- path: Giffy
excludes:
- "**/*.md" # excludes all files with the .md extension
settings:
base:
API_KEY: EEx8BY3HX9JrYdFZ4Hdcx4Trbj35k5Ic
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
CODE_SIGN_STYLE: Automatic
MARKETING_VERSION: 1.0.0
TARGETED_DEVICE_FAMILY: 1
DEVELOPMENT_TEAM: ""
ENABLE_BITCODE: false
LIBRARY_SEARCH_PATHS:
- "$(inherited)"
- "$(PROJECT_DIR)/Giffy"
postCompileScripts:
- script: |
if test -d "/opt/homebrew/bin/"; then
PATH="/opt/homebrew/bin/:${PATH}"
fi
export PATH
if which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
GiffyWidget:
type: app-extension
subtype: widgetkit-extension
platform: iOS
deploymentTarget: "17.0"
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.uwaisalqadri.Giffy.GiffyWidget
CODE_SIGN_STYLE: Automatic
INFOPLIST_FILE: GiffyWidget/Info.plist
sources:
- path: GiffyWidget
dependencies:
- package: CommonUI
- package: Common
- package: SDWebImageSwiftUI
- package: Swinject
- package: Lottie
- package: netfox
- sdk: SwiftUI.framework
- sdk: WidgetKit.framework
GiffyTests:
type: bundle.unit-test
platform: iOS
deploymentTarget: "17.0"
dependencies:
- target: Giffy
settings:
CODE_SIGN_STYLE: Automatic
INFOPLIST_FILE: GiffyTests/Info.plist
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Giffy.app/Giffy
scheme:
testTargets:
- GiffyTests
sources:
- path: GiffyTests