174 Commits

Author SHA1 Message Date
Yonas Kolb 2dbd897b3a Update to 1.11.2 2018-09-19 21:10:25 +10:00
Vlad Gorloff eba2e3ab86 Fix for issue https://github.com/yonaskolb/XcodeGen/issues/392. 2018-09-11 16:57:23 +02:00
Brentley Jones 7140f0d8c5 Add Project.getAggregateTarget() 2018-08-22 09:09:08 -05:00
Yonas Kolb 75ac3b5669 make format_code 2018-08-19 14:22:42 +10:00
Yonas Kolb a1418fe4dd allow aggregateTargets to be dependencies 2018-08-19 13:47:27 +10:00
Brentley Jones 341e0214ed Automatically copy XPC Services to correct location 2018-08-15 08:30:55 -05:00
Yonas Kolb 1d3d8afcd9 Merge pull request #367 from sxua/scheme-archive-additions
Add additional params to archive action
2018-08-02 23:45:40 +10:00
Oleksandr Skrypnyk 769c49f728 Add additional params to archive action 2018-08-02 16:07:18 +03:00
Brentley Jones 96ac557b96 Refactor minimumXcodeGenVersion to be less pervasive 2018-08-02 07:19:37 -05:00
Brentley Jones 76192fb944 Add minimumXcodeGenVersion option
If XcodeGen's version is less than this version validation will fail.
2018-08-02 07:19:37 -05:00
Brentley Jones 2c507ca439 Fail parsing of versions with more than 3 components 2018-08-02 07:19:37 -05:00
Brentley Jones 641ce7ccd8 Conform Version to Comparable 2018-08-02 07:19:37 -05:00
Brentley Jones b1c8fb1db6 Automatically copy modulemap files correctly 2018-07-31 08:13:30 -05:00
Brentley Jones 717c899179 Merge pull request #345 from brentleyjones/modulemap
Add support for Copy Files build phase
2018-07-31 08:01:58 -05:00
Brentley Jones b44dc46244 Cleanup SpecParsingError.invalidSourceBuildPhase 2018-07-31 07:36:59 -05:00
Brentley Jones d1c3ac10d0 Refactor SpecParsingError.unknownSourceBuildPhase
Consolidate `.unknownSourceBuildPhase` and `.invalidSourceCopyFilesPhase` into one.
2018-07-30 08:14:06 -05:00
Brentley Jones 5e96eedd78 Add support for Copy Files build phase 2018-07-30 08:14:06 -05:00
Brentley Jones 8ebf27a122 Add directlyEmbedCarthageDependencies to Target
Allows for choice on if `copy-frameworks` or an `Embed Frameworks` build phase should be used to embed Carthage framworks. Defaults to `true` for macOS targets to match current behavior.
2018-07-24 19:56:08 -05:00
Yonas Kolb b8058827c1 Merge pull request #356 from yonaskolb/sorting
Change group sorting
2018-07-24 23:34:15 +10:00
Brentley Jones 15af4fd1d9 Add requiresObjCLinking to Target
Allows a Target to indicate that any target that links to it needs to set `-ObjC` in `OTHER_LDFLAGS`.
2018-07-24 08:03:03 -05:00
Yonas Kolb f51280485d added options.groupSortPosition 2018-07-24 22:59:24 +10:00
Yonas Kolb fdc8e3035a fix description of aggregate targets with no targets 2018-07-24 22:06:31 +10:00
Yonas Kolb 884490f955 add attributes to AggregateTarget 2018-07-24 22:05:29 +10:00
Yonas Kolb 3b17164bbf add aggregate targets 2018-07-24 22:05:29 +10:00
Yonas Kolb 31c3f1de0f Merge pull request #355 from yonaskolb/target_template
Add target templates
2018-07-24 22:03:10 +10:00
Brentley Jones 0afd7058bb Only link static libraries to executables 2018-07-23 09:23:14 -05:00
Yonas Kolb c9ab3af76e merge target onto templates 2018-07-23 20:27:50 +10:00
Yonas Kolb 1741d69c3c seperate target resolvers 2018-07-23 20:08:55 +10:00
Yonas Kolb c50d1dd157 add target templates 2018-07-22 21:49:39 +10:00
Yonas Kolb a43a96075a Merge pull request #351 from yonaskolb/ks/show-env
Add showEnvVars to build scripts
2018-07-22 12:17:38 +10:00
Keith Smiley ff0e403e52 Add showEnvVars to build scripts
This allows us to disable printing the environment in build logs.
2018-07-20 10:13:50 -07:00
Brentley Jones b32fe96854 Parse xcodeVersion from yaml 2018-07-19 08:13:24 -05:00
Yonas Kolb 22b79cf30c default transitivelyLinkDependencies to false 2018-07-06 00:05:16 +10:00
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
Yonas Kolb be3a4dd1f6 Merge pull request #327 from brentleyjones/transitively-embed
Transitively embed dependencies
2018-07-02 12:01:29 +10:00
Brentley Jones 55b0ed1eeb Add option to turn off transiently linking dependencies 2018-06-29 14:04:31 -05: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 c79a205339 don't code sign target dependencies by default 2018-06-27 22:44:19 +10:00
Yonas Kolb 438869e997 make format_code 2018-06-08 15:21:25 +10: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 6faca7aeed use AutoEquatable in BuildRule 2018-05-13 19:10:31 +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
Keith Smiley 812af8b3a1 Update targetsMap on targets didSet 2018-04-23 09:51:38 -07:00
Keith Smiley d4445c6d4a Store targets as dictionary for faster lookups 2018-04-19 14:45:56 -07:00
Yonas Kolb bc0e90c3d6 Update to 1.9.0 2018-04-12 23:32:40 +10:00
Yonas Kolb e589364ae8 rename ProjectSpec to Project and Project.Options to SpecOptions 2018-04-12 23:13:12 +10:00
Yonas Kolb c89a665bba add target scheme pre and post action tests 2018-03-30 02:10:42 +11:00