mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
29 lines
753 B
YAML
29 lines
753 B
YAML
name: GeneratedProject
|
|
targets:
|
|
- name: TestProject
|
|
type: application
|
|
platform: iOS
|
|
sources: TestProject
|
|
settings:
|
|
INFOPLIST_FILE: TestProject/Info.plist
|
|
PRODUCT_BUNDLE_IDENTIFIER: com.test
|
|
dependencies:
|
|
- target: MyFramework
|
|
postbuildScripts:
|
|
- name: Swiftlint
|
|
script: |
|
|
if which swiftlint >/dev/null; then
|
|
swiftlint
|
|
else
|
|
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
|
|
fi
|
|
- name: MyFramework
|
|
type: framework
|
|
platform: iOS
|
|
sources: MyFramework
|
|
settings:
|
|
INFOPLIST_FILE: MyFramework/Info.plist
|
|
postbuildScripts:
|
|
- name: Swiftlint
|
|
path: scripts/swiftlint.sh
|