Commit Graph

124 Commits

Author SHA1 Message Date
Rogerio de Paula Assis 18f52ab098 Introduces ability to include Carthage related dependencies when creating a project configuration file 2019-02-22 21:29:56 -05:00
Yonas Kolb fb3f80d6af run swiftformat 2019-01-28 22:20:01 +11:00
Yonas Kolb f154b4d1cb Merge pull request #503 from yonaskolb/fix/config_lookup
Don't partial apply exact config matches
2019-01-28 22:18:01 +11:00
Yonas Kolb d0c257e938 don't partial apply exact config matches 2019-01-28 21:53:48 +11:00
Yonas Kolb a6ca395033 remove basePath init requirement 2019-01-28 21:51:17 +11:00
Rogerio de Paula Assis e6e8b58db4 Fixes issue with sticker pack targets generating redundant compile sources build phase 2019-01-15 22:57:22 -05:00
Yonas Kolb f04c3e0496 format code 2018-12-18 22:37:22 +11:00
feischl97 5ffeade6b8 add test info does not override info.plist setting 2018-11-26 11:58:00 +01:00
Brentley Jones ef0c87ecb5 Merge branch 'master' into copy-files-ordering 2018-11-05 10:38:21 -06:00
Yonas Kolb 1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb e7ef30a241 refactoring 2018-11-03 21:33:27 +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 26106a04b3 refactor file writing 2018-10-30 00:52:24 +11:00
Yonas Kolb 228ab6620b generate info plist and entitlements 2018-10-30 00:44:12 +11:00
Yonas Kolb a26b2d382a fix warnings 2018-10-10 20:26:25 +11:00
Yonas Kolb 32a36b0e7f update to xcodeproj 6.1.0 2018-10-10 20:26:25 +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 0116301227 swift_format 2018-10-01 13:19:29 +10:00
Yonas Kolb d5b72bce4f check fixtures using git diff 2018-09-29 21:39:35 +10:00
Yonas Kolb 84f1c65632 update to xcodeproj 6 2018-09-25 23:38:38 +10:00
Yonas Kolb e97b002655 upgrade to xcodeproj 5 2018-09-25 21:08:11 +10:00
Brentley Jones 296b938e82 Rename prebuildScripts and postbuildScripts
Also cleanup the documentation and add more tests for the newly added `postCompileScripts`.
2018-09-19 09:24:55 -05:00
Yonas Kolb 3c07768508 support swift 4.2 2018-09-13 23:05:51 +10:00
Brentley Jones ab37654b01 Fix aggregate target dependencies with transitivelyLinkDependencies 2018-08-22 08:56:56 -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 732df18976 Fix test name 2018-08-09 09:52:29 -05:00
Brentley Jones 5f2b4074a6 Automatically copy Swift.h header for static libraries 2018-08-09 09:52:18 -05:00
Brentley Jones ba6f3d0fd3 Default directlyEmbedCarthageDependencies to true for more targets
`directlyEmbedCarthageDependencies` is only `false` now for iOS/tvOS/watchOS applications.
2018-07-26 08:20:39 -05:00
Brentley Jones b18cd551cb Default directlyEmbedCarthageDependencies to true for tests 2018-07-24 19:56:08 -05: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 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
Brentley Jones d6832479e4 Stop linking dynamic frameworks to static libraries 2018-07-23 09:23:14 -05:00
Brentley Jones 2e53422f82 Transitively link library.static dependencies 2018-07-23 09:23:14 -05:00
Brentley Jones 0afd7058bb Only link static libraries to executables 2018-07-23 09:23:14 -05: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
Brentley Jones 55b0ed1eeb Add option to turn off transiently linking dependencies 2018-06-29 14:04:31 -05:00
Brentley Jones dd4f2e437a Transitively embed dependencies
If a target embeds dependencies (i.e. App and Test bundles) and a dependency has dependencies that can be embedded, then we should embed those dependencies as long as they weren't embedded along the way.
2018-06-29 13:17:02 -05:00
Yonas Kolb d9f5744ca3 add build rule unit tests 2018-06-27 22:41:14 +10:00
Yonas Kolb 438869e997 make format_code 2018-06-08 15:21:25 +10:00
Yonas Kolb 0e1f039055 integrate XCTest with Spectre for nicer tests in Xcode 2018-06-08 15:12:42 +10:00
Yonas Kolb 5d611e008a test excluding .xcodeproj 2018-06-03 16:49:09 +10:00
Keith Smiley 853c98bac1 Support frameworks in source paths
This adds support for users passing pre-compiled frameworks in as a
source file of a target, and correctly adding it to the copy frameworks
build phase. Previously it would be added to the copy resources build
phase.
2018-05-16 17:18:46 -07:00
Yonas Kolb 5f99d0c82d always generate Sources build phase 2018-05-14 10:38:43 +10:00
Yonas Kolb fe39aa8f71 use compactMap in tests 2018-05-13 18:52:13 +10: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