Commit Graph
519 Commits
Author SHA1 Message Date
Romuald CARI 0df37029cc Fix TargetSource group behavior
When targeting a file, a folder should not be created for its directory,
only the file should appear in the specified custom group.
Moreover, if the custom groups contains actual filesystem folders, they
should map to these.
2019-11-19 15:56:24 -05:00
Romuald CARI de9c15ea1d Fix @sroebert PR based on @yonaskolb comments 2019-11-19 15:56:23 -05:00
Steven Roebert 15e615300e Added new group parameter to target sources, allowing to add them to a custom parent group (resolving #478) 2019-11-19 15:56:23 -05:00
Kohki Miki cad36baa6d Update SourceGeneratorTests.swift 2019-11-19 04:38:05 +09:00
giginet 5e9a2a9651 Add test case with buildPhase 2019-11-19 04:34:28 +09:00
giginet e24fa881da Tweak 2019-11-19 03:35:51 +09:00
giginet c5e9f07a53 Add tests to add intentdefinition to build source phases 2019-11-19 03:00:08 +09:00
Yonas Kolb 32bd7ed568 Update to XcodeProj 7.4 (#715)
Update to XcodeProj 7.4
2019-11-10 12:54:03 +11:00
yonaskolb 63bf4f1584 regen fixtures 2019-11-10 12:40:47 +11:00
yonaskolb 865ad156b2 use custom unwrap function 2019-11-10 12:18:04 +11:00
yonaskolb 66569d3670 use XCTUnwrap 2019-11-10 12:09:37 +11:00
yonaskolb 0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +11:00
Kohki Miki 03076f40eb Support Static Frameworks for Carthage dependencies (#688) 2019-11-07 11:03:26 -06:00
wag-miles c5905581d5 Fix header phase for static frameworks (#705) 2019-11-06 14:09:20 -06:00
Romuald Cari 06a6616b88 Improving variable expansion runtime (#704)
* Improving variable expansion runtime

The current implementation of variable expansion is O(n x m) with n being the
number of strings in the project spec and m being the number of project variables.

This implementation is now O(n).

Also, this effectively deprecates the support for $legacy_variables in favor of the
${new_variables} making this whole patch possible.

* Adding option to disable variable expansion

* Adding performance test for spec loading

* Updating changelog
2019-11-06 08:33:54 -06:00
Yuta Saito db9c99da3a Update fixtures 2019-10-30 15:53:03 +09:00
yonaskolb 203d96e343 fix some build errors 2019-10-30 11:40:55 +11:00
Bryan Summersett 98472a3d88 Add Base to known regions even if one doesn't exist 2019-10-29 15:33:52 -07:00
yonaskolb 518d8e578b restructure test targets 2019-10-27 23:15:12 +11:00
yonaskolb d0d509c1a5 swiftformat 2019-10-27 22:37:41 +11:00
Yuta Saito e45b0d0f43 Fix build errors 2019-10-27 13:02:53 +09:00
Yuta Saito 3d58b3d104 Merge branch 'master' into test-coverage 2019-10-27 12:58:30 +09:00
Yuta Saito f81adfe291 Merge branch 'external-target-ref' into test-coverage 2019-10-27 12:57:23 +09:00
Yonas Kolb f9e5f23c2b Support External Target Reference (#655)
Support External Target Reference
2019-10-27 14:11:35 +11:00
Yuta Saito c4305dd02e Add validation for project reference 2019-10-27 09:00:21 +09:00
Malcolm Jarvis d22ab944c4 Fix macOS unit test target TEST_HOST (#696)
Resolves #695

Previously, macOS unit test targets would appear to have no test host.

By manually setting the test host in Xcode on the fixture project, I discovered that macOS test hosts require an additional `Contents/MacOS/` path component before the product name.

We can manually detect the platform when setting the test host and as such generate the host correctly for macOS unit test targets.
2019-10-24 11:12:00 -05:00
giginet d4c5b29ca3 Add tests for Info.plist 2019-10-23 18:58:40 +09:00
Kohki Miki 5b5d0e917e Merge pull request #681 from giginet/project-path
Resolving relative paths with custom project destination
2019-10-23 04:15:51 +09:00
giginet 80808d69c8 Rename 2019-10-22 23:37:01 +09:00
Franz Busch cb2ee6cbaa Code review comments 2019-10-22 10:39:42 +02:00
Franz Busch b5773eff6a Don't generate CFBundleExecutable for targets of type bundle 2019-10-22 09:39:22 +02:00
Yuta Saito f49a172117 Update Fixture 2019-10-15 15:47:40 +09:00
Yuta Saito 1c6409266b Improve TargetReference initializer interface 2019-10-15 15:33:35 +09:00
Yuta Saito d978cf4df2 Rename ExternalProject -> ProjectReference 2019-10-15 15:10:01 +09:00
Yuta Saito d1bed7191c Fix unit test build error for TargetReference 2019-10-10 23:57:55 +09:00
Yuta Saito 0a43435af3 Merge branch 'master' into external-target-ref 2019-10-10 23:38:45 +09:00
Kohki Miki 62a26b0a17 Merge branch 'master' into project-path 2019-10-09 16:36:42 +09:00
Yonas Kolb 3e1b9650b9 Merge pull request #679 from nivanchikov/fix_localized_resources_with_directories
Fix some resource files being placed to "Recovered References" group
2019-10-09 09:00:04 +11:00
giginet 7db2d2c526 Rename to projectDirectory 2019-10-08 22:52:51 +09:00
giginet f9b42c2d4f Resolve relativePath 2019-10-08 22:48:42 +09:00
giginet 26c867d1ad Remove XCTUnwrap 2019-10-08 22:48:42 +09:00
giginet 90b018ad28 Passing relative path 2019-10-08 22:48:42 +09:00
giginet fac151ed9b Add testcases for project destination 2019-10-08 22:48:42 +09:00
Yonas Kolb 27564f9a28 Merge pull request #672 from yonaskolb/BC-SchemeTemplates
Scheme Templates
2019-10-08 17:38:32 +11:00
Nikita Ivanchikov 974bf8ac5f Add source generator tests 2019-10-08 01:40:56 +03:00
Yonas Kolb 38b9b18bc9 Merge branch 'master' into fix-paths 2019-10-06 22:38:13 +11:00
Brian Clymer 6e5766a2bc Ensure that target names can be changed by template attributes. 2019-10-02 10:40:15 -05:00
giginet f0dc840128 Remove unnecessary matchers 2019-10-03 00:12:45 +09:00
giginet ccd411d37e Fix tests for selecting suitable configs 2019-10-03 00:09:09 +09:00
giginet 2010c2ab48 Add tests for selecting suitable schemes 2019-10-02 23:19:13 +09:00