194 Commits

Author SHA1 Message Date
Yonas Kolb 1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb 7e92db5346 add sdk dependency type 2018-11-04 21:38:07 +11:00
Yonas Kolb e96c91eecf Merge pull request #434 from yonaskolb/test_target
Add TestTarget with parallelizable and randomExecutionOrder
2018-11-04 20:31:32 +11:00
Yonas Kolb e7ef30a241 refactoring 2018-11-03 21:33:27 +11:00
Yonas Kolb ea2d38ecdd tweak project description 2018-11-03 20:09:46 +11:00
Yonas Kolb e8feba21ef add TestTarget with parallelizable and randomExecutionOrder 2018-11-03 19:04:28 +11:00
Yonas Kolb 0efe954f34 automatically set project SDK root if there is only a single platform 2018-11-02 19:37:45 +11:00
Yonas Kolb 3eaed1ec7c validate incorrect config settings definitions 2018-11-02 18:50:13 +11:00
Yonas Kolb 3d87c61342 plist error handling 2018-10-30 22:22:51 +11:00
Yonas Kolb eef1dc473e rename Plist.attributes to properties 2018-10-30 21:47:16 +11:00
Yonas Kolb 228ab6620b generate info plist and entitlements 2018-10-30 00:44:12 +11:00
Yonas Kolb b1b7901f1e don't generate duplicate product file references for cross platform targets 2018-10-14 21:58:19 +11:00
Yonas Kolb 39079dd801 Merge origin/master into xcodeproj_5 2018-10-09 23:11:36 +11:00
Yonas Kolb 4b0169e42a sorted command line arguments 2018-10-09 23:08:18 +11:00
Jerry Marino bf293d6ac6 Use the provided TargetSource.headerVisibility
This was missing in the init - simply use the value provided by the
user.
2018-10-08 13:34:45 -07:00
Yonas Kolb 07eccc5574 Merge branch 'master' into xcodeproj_5
# Conflicts:
#	Tests/XcodeGenKitTests/ProjectFixtureTests.swift
2018-10-08 23:07:25 +11:00
Yonas Kolb 5bd704392a add projectPath getter 2018-10-08 22:29:15 +11:00
Yonas Kolb 8d6a70bdd0 Merge branch 'master' into xcodeproj_5
# Conflicts:
#	.circleci/config.yml
#	Sources/XcodeGenKit/PBXProjGenerator.swift
#	Tests/Fixtures/TestProject/Project.xcodeproj/project.pbxproj
#	Tests/XcodeGenKitTests/ProjectFixtureTests.swift
#	Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
2018-10-08 22:00:45 +11:00
Alvar Hansen ab0d71d96f Add framework weak linking setting 2018-10-02 11:07:58 +03:00
Yonas Kolb e97b002655 upgrade to xcodeproj 5 2018-09-25 21:08:11 +10:00
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