Commit Graph

47 Commits

Author SHA1 Message Date
Brentley Jones b7ba3628e9 Fix typo "transient" -> "transitive" 2018-07-03 13:34:20 -05:00
Yonas Kolb 01815e7e4e Update to 1.10.0 2018-07-03 21:45:00 +10:00
Brentley Jones 55b0ed1eeb Add option to turn off transiently linking dependencies 2018-06-29 14:04:31 -05:00
Yonas Kolb 701df1c915 Merge pull request #306 from yonaskolb/build_rule
Add build rules
2018-05-24 16:22:06 +10:00
Yonas Kolb 3533c2cb07 use AutoEquatable where possible 2018-05-13 19:05:32 +10:00
Yonas Kolb 542668d9f0 add build rules 2018-05-13 17:13:48 +10:00
Yonas Kolb 1ce6b97980 update to Swift 4.1 2018-05-12 15:10:18 +10:00
Yonas Kolb a1b631b405 add pre and post actions to target scheme 2018-03-30 01:47:25 +11:00
Yonas Kolb ebde9de151 Add target.attributes 2018-03-27 14:21:15 +11:00
Jerry Marino fda4f30713 Allow allocation of LegacyTarget
I'm now using XcodeGen data structures directly, which is awesome.

I need to allocate `LegacyTarget` in my code, so this method makes it
public.
2018-03-08 13:23:17 -08:00
Jakub Turek dcb098a39f Implement setting schema variables in xcodeproj 2018-02-26 22:22:07 +01:00
Yonas Kolb a176f85875 xcproj 4.0 2018-01-25 20:59:28 +10:30
Yonas Kolb a7380e106d generate target product name for file reference path 2018-01-21 22:41:23 +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 cd6d179325 rename platformVersion to deploymentTarget 2017-12-26 17:36:41 +08:00
Yonas Kolb 4a90d33951 Add Version type 2017-12-26 17:36:41 +08:00
Yonas Kolb f0486c644e add options.platformVersions and target.platformVersion 2017-12-26 17:36:22 +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 8da828a029 minor logging change 2017-11-23 20:32:48 +01:00
Yonas Kolb 0c1325cc5f remove header comments 2017-11-22 13:01:17 +01:00
Yonas Kolb a2c41917e5 Fix groups (#144)
* failing createIntermediateDirectories test

* refactor sources

* add reference generator tests
2017-11-12 18:52:11 +01:00
Yonas Kolb 698d8d85b4 change target source from String to Source struct 2017-10-31 17:22:14 +01:00
Yonas Kolb 92c2e5c5b5 run format-code.sh 2017-10-29 22:27:05 +01:00
Yonas Kolb f8b4b5792e move and rename files 2017-10-29 22:15:02 +01:00
Yonas Kolb 9a41bb9ab6 minor refactoring of spec validation 2017-10-29 20:32:36 +01:00
Yonas Kolb 770b502638 change target description 2017-10-27 00:50:21 +02:00
Keith Smiley 08de6077d9 Add option for not linking dependencies
This adds a new attribute to Dependency that allows consumers to choose
to not link a dependency. This is useful for if you have this dependency
tree with static libraries:

App -> A -> Shared
App -> B -> Shared

Where A and B both share a static library dependency, that is finally
linked into App. If Shared is added to the link phase of A and B, you
end up with duplicate symbols during the link phase. With this change
consumers could set link: False on A and B's dependency on Shared, this
way Shared will get build before A and B, but not linked.
2017-10-25 15:55:49 -07:00
Brandon Kase 6d4449192c Remove unused sourceExcludes 2017-10-24 15:05:57 -07:00
Yonas Kolb fec6066d91 updated to xcproj 0.3.0 2017-10-01 11:42:07 +02:00
Yonas Kolb e2012736b0 add double space after emoji for terminal 2017-09-25 17:48:18 +02:00
Yonas Kolb c44b4f969f add some more comprehensive logging output with emoji 2017-09-25 14:44:39 +02:00
Yonas Kolb 061bddd18b ability to override target name 2017-09-14 21:04:33 +02:00
Yonas Kolb 38bc3be64b change yaml targets from list to map 2017-09-14 20:53:34 +02:00
Yonas Kolb 6774934a1b support include array in spec that merges other specs 2017-08-30 12:58:10 +02:00
Yonas Kolb cb3232df9f add dependency embed settings 2017-08-27 11:55:44 +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 da4b382f51 generate multi platform targets 2017-08-26 16:17:15 +02:00
Yonas Kolb 6f9f194863 rename RunScript to BuildScript 2017-08-26 15:01:09 +02:00
Yonas Kolb 6c7cca1092 add option for carthageBuildPath 2017-08-25 16:22:40 +02:00
Yonas Kolb 823eceba75 add unit tests to target schemes 2017-08-04 00:23:52 +02:00
Yonas Kolb 9cc1e50824 add run script support 2017-08-01 18:40:40 +02:00
Yonas Kolb 560cec746a add format code script 2017-07-31 12:32:50 +02:00
Yonas Kolb 4614073cfa rename Spec to ProjectSpec and moved into its own module 2017-07-28 16:32:35 +02:00