Commit Graph

66 Commits

Author SHA1 Message Date
Oleksandr Skrypnyk 769c49f728 Add additional params to archive action 2018-08-02 16:07:18 +03:00
Yonas Kolb 01815e7e4e Update to 1.10.0 2018-07-03 21:45:00 +10:00
Brentley Jones cc4674c6b8 Fix launch action to not run frameworks
Currently generated schemes incorrectly are launchable for frameworks. This change implements them in the same way that Xcode naturally does.
2018-06-29 12:39:57 -05:00
Yonas Kolb 29f4fa2123 Rename uses of spec to project 2018-04-12 23:17:07 +10:00
Yonas Kolb e589364ae8 rename ProjectSpec to Project and Project.Options to SpecOptions 2018-04-12 23:13:12 +10:00
Linus Unnebäck 3d98a48637 Target Xcode 9.3 2018-04-04 17:08:26 +01:00
Yonas Kolb a1b631b405 add pre and post actions to target scheme 2018-03-30 01:47:25 +11:00
toshi0383 0a37fd54e3 fix and refactor into extensions 2018-03-01 07:53:27 +09:00
toshi0383 ead24e8ce3 Remove unnecessary diff 2018-02-28 00:23:50 +09:00
toshi0383 77103a3c36 Fix shouldUseLaunchSchemeArgsEnv disabling logic 2018-02-28 00:18:08 +09:00
Jakub Turek dcb098a39f Implement setting schema variables in xcodeproj 2018-02-26 22:22:07 +01:00
Rahul Malik 048ed75ac4 Update for comments 2018-02-13 18:48:10 -05:00
Rahul Malik 0d5a9b4da7 Add parallelizeBuildables and buildImplicitDependencies flags to the build
scheme settings
2018-02-13 17:26:27 -05:00
Yonas Kolb 52c7316ce7 fix scheme buildable reference 2018-01-30 15:25:42 +11:00
Yonas Kolb 920767be1f add default test action language 2018-01-30 15:25:39 +11:00
Yonas Kolb cb5072d1c4 set scheme version 2018-01-30 15:25:32 +11:00
Dave Lee 59e70dfddf Support use of target setttings in execution actions 2018-01-29 12:23:34 -08:00
Dave Lee df20befa61 Pass scheme execution actions down to xcproj 2018-01-25 16:04:33 -08:00
Yonas Kolb a176f85875 xcproj 4.0 2018-01-25 20:59:28 +10:30
Yonas Kolb 75e0644b99 wrap long lines 2017-12-26 18:47:18 +08:00
Yonas Kolb e75b1c1e89 format code 2017-12-26 17:56:02 +08:00
Yonas Kolb 7c7bbce783 refactor TargetScheme -> Scheme initialization 2017-12-21 19:02:29 +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 5a30baf77e add xcodeVersion option 2017-12-20 23:13:31 +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
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
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 0c1325cc5f remove header comments 2017-11-22 13:01:17 +01:00
rmalik f2c4ebabfd Update XcodeGen for latest performance fixes in xcproj 2017-11-16 15:37:53 -08:00
Yonas Kolb 9a41bb9ab6 minor refactoring of spec validation 2017-10-29 20:32:36 +01:00
Yonas Kolb 779397ec8d move basePath into ProjectSpec 2017-10-24 21:30:06 +02:00
Yonas Kolb fec6066d91 updated to xcproj 0.3.0 2017-10-01 11:42:07 +02:00
Yonas Kolb 8a993fd94c move spec validation into seperate file 2017-09-24 19:42:14 +02:00
Yonas Kolb 2b4d8aa6ff update generated LastUpgradeVersion to 0900 2017-09-19 13:14:38 +02:00
Yonas Kolb 1ef53e39f0 change Target.Dependency to a struct with embed 2017-08-27 11:53:16 +02:00
Yonas Kolb d8ffafe4cf rename setting presets to setting groups 2017-08-26 18:38:39 +02:00
Yonas Kolb 6f9f194863 rename RunScript to BuildScript 2017-08-26 15:01:09 +02:00
Yonas Kolb 3cfd3ce816 swiftformat 2017-08-25 19:18:02 +02:00
Yonas Kolb fc72702e33 update to xcodeproj 0.1.0 2017-08-25 15:05:31 +02:00
Yonas Kolb 5f999a2ab1 fix xcodeproj 0.0.9 module changes 2017-08-04 08:52:30 +02:00
Yonas Kolb 823eceba75 add unit tests to target schemes 2017-08-04 00:23:52 +02:00
Yonas Kolb 7a390bb31a change scheme build targets schema 2017-08-03 22:02:49 +02:00
Yonas Kolb 3d42c95e18 add spec validation for missing target config files 2017-08-02 21:15:19 +02:00
Yonas Kolb 63d98adb65 user PathKit for resolving absolute paths 2017-08-02 12:54:07 +02:00
Yonas Kolb 9cc1e50824 add run script support 2017-08-01 18:40:40 +02:00
Yonas Kolb 03b212c517 support absolute paths 2017-08-01 18:08:43 +02:00
Yonas Kolb 560cec746a add format code script 2017-07-31 12:32:50 +02:00