Files
XcodeGen/Fixtures/TestProject/spec.yml
T
2017-08-04 00:23:52 +02:00

41 lines
1.1 KiB
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
scheme:
testTargets:
- TestProjectTests
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
- name: TestProjectTests
type: bundle.unit-test
platform: iOS
sources: TestProjectTests
settings:
TEST_HOST: $(BUILT_PRODUCTS_DIR)/TestProject.app/TestProject
INFOPLIST_FILE: TestProjectTests/Info.plist
dependencies:
- target: TestProject