Commit Graph
1781 Commits
Author SHA1 Message Date
Yonas Kolb 402c549ec8 add Scheme documentation 2017-12-21 18:26:58 +08:00
Yonas Kolb e7b9d99b4c allow scheme build target build types to be defined with an array 2017-12-21 18:26:19 +08:00
Yonas Kolb 375d322b3f Merge pull request #200 from allu22/optional-file
Allow missing files in sources
2017-12-21 17:38:23 +08:00
Alvar Hansen 24c8668eb7 Allow missing files in sources
Adds `optional` flag to `TargetSource` to allow files that do not exist yet.
This is useful in cases where build script will generate files.
2017-12-21 11:33:04 +02:00
Yonas Kolb f6bc92e84e Merge pull request #195 from vhbit/scheme-testables
Added support for testables in `Scheme`
2017-12-21 17:09:59 +08:00
Valerii Hiora 9bcd1db486 Missed one more testables occurence 2017-12-21 10:58:37 +02:00
Valerii Hiora 5a3e37218d Added support for testables in Scheme
Fixes #193

This addresses the issue that it was impossible to test targets if
custom scheme was used by providing array of testables to `Test` action.

Now it should be possible using the following syntax:

```yaml
STCore:
  build:
    targets:
      - target: STCore
        buildTypes: all
  test:
    testables: [STCoreTests]
    config: Staging-Debug
```

Note that original example in #193 has to be modified for this change
as it causes a confusion in Xcode: if we have 2 targets `STCore` and
`STCoreTests`, if `STCoreTests` is also added as testable Xcode
duplicates test target in build actions (i.e. `STCore`, `STCoreTests`,
`STCoreTests` are shown).
2017-12-21 10:50:47 +02:00
Yonas Kolb 8864e4b1b6 Merge pull request #199 from vhbit/overwrite-cmdargs
Fixed test/profile command line args not being passed
2017-12-21 16:35:57 +08:00
Valerii Hiora 89061e316d Fixed test/profile command line args not being passed
It's not enough just set command line arguments - there is a separate
flag in scheme, which allows them to overwrite default launch arguments.

Now that flag is automatically set if there are any args provided.

Fixes #198
2017-12-21 10:25:08 +02:00
Yonas Kolb bd635dc1ef Merge pull request #194 from kastiglione/lazy-plist-scan
Scan for Info.plist lazily
2017-12-21 15:10:27 +08:00
Dave Lee f96252ace6 Use spec property directly 2017-12-20 09:04:23 -08:00
Yonas Kolb c0a7505666 Merge pull request #197 from yonaskolb/xcode_version
Add Xcode version
2017-12-20 23:51:22 +08:00
Yonas Kolb e1275a4ca0 add xcodeVersion docs 2017-12-20 23:17:59 +08:00
Yonas Kolb d7cb06b7b0 update xcode version 2017-12-20 23:14:06 +08:00
Yonas Kolb 5a30baf77e add xcodeVersion option 2017-12-20 23:13:31 +08:00
Yonas Kolb 1b5a9d7781 Merge pull request #185 from yageek/feature/update_doc
Update documentation about source exclusion
2017-12-20 22:40:22 +08:00
Yonas Kolb 0a712a3adc add more source excludes tests 2017-12-20 22:39:26 +08:00
Dave Lee b48c2bac77 Scan for Info.plist lazily 2017-12-19 22:17:32 -08:00
Yonas Kolb 4cb7b81911 update changelog 2017-12-19 16:09:41 +08:00
Brandon Kase 4c96dbb323 Support indentation options from xcproj (#190) 2017-12-18 13:28:33 -08:00
Brandon Kase 69b1368013 Support Legacy Targets (#175)
XcodeGen now supports "External Build Tool" target type (internally called
PBXLegacyTarget in Xcode). This is implied when the target provides a
`LegacyTarget` field in its spec.

PBXLegacyTargets are just like normal targets but the `isa` is different
and they have a notion of a buildTool. Most of the target logic doesn't
have to change.
2017-12-18 13:26:49 -08:00
Yonas Kolb d6b3a63d8f update command, pathkit and spectre 2017-12-17 05:11:03 +08:00
Yonas Kolb b7d545b0a4 update Rainbox 2017-12-17 04:55:07 +08:00
Yonas Kolb b3429489f4 update xcproj to 1.7.0 2017-12-17 04:52:53 +08:00
Yonas Kolb d43a9c030a update xcproj to 1.6.1 2017-12-09 14:27:10 +01:00
Yonas Kolb 76cfab46b7 Merge pull request #184 from kastiglione/patch-1
Transform input spec path to absolute path
2017-12-07 21:29:54 +01:00
Dave Lee 926fbd5882 Use absolute() 2017-12-07 11:05:31 -08:00
Yonas Kolb 11e1813474 Merge pull request #186 from allu22/script-quote-escaping
Remove unnecessary quote escaping.
2017-12-07 18:43:29 +01:00
Alvar Hansen 5bd8e9f47c Remove unnecessary quote escaping. 2017-12-07 16:53:47 +02:00
Yannick Heinrich a23e625182 Update documentation about source exclusion
Update the documentation about the source exclusion.
The examples are those mentionned in #180.
2017-12-07 14:44:18 +01:00
Dave Lee 0e4118ee8a Transform input spec path to absolute path
Fixes #183
2017-12-05 18:35:06 -08:00
Yonas Kolb 9676d1340b update to xcproj 1.6.0 2017-12-05 20:57:31 +01:00
Yonas Kolb 3fd2effb5d Merge pull request #174 from kastiglione/dash-v
Print version with -v too
2017-12-01 22:34:38 +01:00
Rahul Malik 46b1512c7c Update Spec docs to show strings types as the keys for commandLineArguments (#176) 2017-11-30 12:55:52 +01:00
Rahul Malik 8a46cde0b1 Add commandlineArguments to XcodeGenKit Scheme specifications (#172)
* Add commandlineArguments to XcodeGenKit Scheme specifications

* Update xcproj reference, format code, cleanup usage of
commandlineArguments in ProjectGenerator

* Update docs, CHANGELOG and equality checks in Scheme.swift

* Doc update

* Update fixture tests to have command line arguments. Fix remaining issue
with Scheme creation through "Test Scheme"
2017-11-28 11:02:59 -08:00
Dave Lee bc43528b1c Print version with -v too 2017-11-27 13:16:20 -08:00
Alex Rupérez c59c6a02db Added support for codeCoverageEnabled flag in target schemes. (#170)
* Resolves #169, added support for codeCoverageEnabled flag in target schemes.

* #170 @yonaskolb code review fix and docs update.

* More #170 @yonaskolb code review fix.

* Using gatherCoverageData instead of codeCoverageEnabled naming, thanks @kastiglione.

* Now using xcproj 1.5.0

* Another #170 @yonaskolb code review fix.
2017-11-24 11:45:56 +01:00
Yonas Kolb 8da828a029 minor logging change 2017-11-23 20:32:48 +01:00
Yonas Kolb cbec3ad732 add fatalError helper function 2017-11-23 19:16:38 +01:00
Yonas Kolb 0c5bdfbdbe added some pre writing logging, to highlight what is happening 2017-11-23 19:13:16 +01:00
Yonas Kolb f577eb71b4 Merge pull request #167 from soffes/quiet
Add quiet option
2017-11-23 01:15:47 +01:00
Sam Soffes 198195cee9 Remove docstrings 2017-11-22 15:04:30 -08:00
Sam Soffes e2cb20c885 Add quiet option 2017-11-22 10:00:13 -08:00
Yonas Kolb 54e24bc52e update format_code 2017-11-22 13:02:44 +01:00
Yonas Kolb 0c1325cc5f remove header comments 2017-11-22 13:01:17 +01:00
Yonas Kolb b7dc0ab574 remove now un-needed PBXProj from SourceGenerator 2017-11-22 12:48:44 +01:00
Yonas Kolb 04b31acabf remove duplicate test 2017-11-21 14:11:47 +01:00
Yonas Kolb 05cdd8bb7c Merge pull request #166 from sbarow/master
Add implicit option to framework Dependency
2017-11-21 14:10:49 +01:00
Cameron Mc Gorian 80b5033e03 Update docs 2017-11-21 13:54:58 +01:00
Cameron Mc Gorian f143b907f8 Review feedback 2017-11-21 13:51:04 +01:00