Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertofrontado/f74749c1c542824322214708f9f91c0a to your computer and use it in GitHub Desktop.
Save robertofrontado/f74749c1c542824322214708f9f91c0a to your computer and use it in GitHub Desktop.
Project spec used to generate a modular application with Swiftlint
name: XcodeGenSample
options:
bundleIdPrefix: com.frontado
deploymentTarget:
iOS: 13.0
targets:
XcodeGenSample:
type: application
platform: iOS
sources:
- path: XcodeGenSample
dependencies:
- target: Authentication
- target: Profile
scheme:
testTargets:
- XcodeGenSampleTests
preBuildScripts:
- name: SwiftLint
script: |
${PODS_ROOT}/SwiftLint/swiftlint --config .swiftlint.yml
XcodeGenSampleTests:
type: bundle.unit-test
platform: iOS
sources:
- path: XcodeGenSampleTests
include:
- path: Subspecs/authentication.yml
- path: Subspecs/profile.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment