Commit Graph

1699 Commits

Author SHA1 Message Date
yonaskolb
0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +11:00
Yonas Kolb
7ce43f2657
Add dump command (#710)
Add dump command
2019-11-10 11:47:43 +11:00
yonaskolb
d96f7890e4 Refactor commands 2019-11-10 11:38:53 +11:00
yonaskolb
44f9ffa51a formatting 2019-11-10 11:38:53 +11:00
yonaskolb
aa0fd85bfe add file option 2019-11-10 11:38:53 +11:00
yonaskolb
155add1431 update changelog 2019-11-10 11:38:53 +11:00
yonaskolb
43cd0ec33e add dump command 2019-11-10 11:37:52 +11:00
yonaskolb
5711c6be0d Remove project description from generate 2019-11-10 11:37:52 +11:00
Kohki Miki
03076f40eb Support Static Frameworks for Carthage dependencies (#688) 2019-11-07 11:03:26 -06:00
Yonas Kolb
66333c6d79
Update to XcodeProj 7.3.0 (#709)
Update to XcodeProj 7.3.0
2019-11-07 23:22:49 +11:00
yonaskolb
0ea8f90fb5 update to XcodeProj 7.3.0 2019-11-07 23:16:54 +11:00
Romuald Cari
e38360d5e3 Fix crash on empty ${} variable expansion (#706)
This fix got lost in #704 reworks.
2019-11-06 14:12:11 -06:00
wag-miles
c5905581d5 Fix header phase for static frameworks (#705) 2019-11-06 14:09:20 -06:00
Romuald Cari
1cdb5dcea3 Disable Xcode 10.3 CI builds (#707) 2019-11-06 13:41:09 -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
Yonas Kolb
1942ba36c0 rename make brew 2019-11-01 10:13:27 +11:00
Yonas Kolb
a53bf377a7 update changelog 2019-11-01 10:11:31 +11:00
Yonas Kolb
b7a597200d Update to 2.10.1 2019-11-01 10:09:48 +11:00
Romuald Cari
292cee1f6e Fixing link directive on dependencies (#703)
PR #624 introduced a bug with operator priorities discarding false link settings
for dependencies when the target is an executable and the dependency a static
library. This PR fixes that.
2019-10-31 15:32:17 -05:00
Yonas Kolb
3b85ffcad2
Merge pull request #700 from kateinoigakukun/fix/onlyGenerateCoverageForSpecifiedTargets
Add missing onlyGenerateCoverageForSpecifiedTargets
2019-10-31 03:27:26 +11:00
Yuta Saito
610e65f78d Update CHANGELOG.md 2019-10-30 16:00:00 +09:00
Yuta Saito
db9c99da3a Update fixtures 2019-10-30 15:53:03 +09:00
Yuta Saito
3a810d1499 Add missing onlyGenerateCoverageForSpecifiedTargets which enables specific target coverage 2019-10-30 15:17:08 +09:00
yonaskolb
203d96e343 fix some build errors 2019-10-30 11:40:55 +11:00
Yonas Kolb
0324f8e627
Add Base to knownRegions even if one doesn't exist (#694)
Add Base to knownRegions even if one doesn't exist
2019-10-30 09:46:40 +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
03b74b37c0 Update to 2.10.0 2019-10-27 23:25:47 +11:00
Yonas Kolb
15037d8b12
Restructure test targets (#698)
Restructure test targets
2019-10-27 23:24:38 +11:00
yonaskolb
efc71ca143 update changelog 2019-10-27 23:18:16 +11: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
Yonas Kolb
77829aeea1
Merge pull request #656 from kateinoigakukun/test-coverage
Add option to gather code coverage for specific targets
2019-10-27 15:44:01 +11:00
Yuta Saito
d4ae922a4d Update outdated CHANGELOG.md 2019-10-27 13:31:42 +09:00
Yuta Saito
1706324213 Update Docs/ProjectSpec.md 2019-10-27 13:11:14 +09: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
bbed01d1d6 Cache pbxproj by reference name 2019-10-27 09:23:35 +09:00
Yuta Saito
d3560e7f6b Use convenience initializer for TargetReference.local 2019-10-27 09:11:27 +09:00
Yuta Saito
fbc7e9442d Use propery initializer for TestTarget 2019-10-27 09:08:51 +09:00
Yuta Saito
1285a3e25e Rename TargetReference.init label 2019-10-27 09:07:04 +09: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
Yuta Saito
848dfe28ba Re-revert 'Throw error instead of fatalError' partially 2019-10-24 08:21:32 +09:00
Kohki Miki
24840f569e
Merge pull request #683 from giginet/resolve-info-plist
Resolve auto-generated INFOPLIST_FILE
2019-10-24 02:36:15 +09:00
Kohki Miki
96a721da30
Update CHANGELOG.md 2019-10-24 02:22:04 +09:00
giginet
d4c5b29ca3 Add tests for Info.plist 2019-10-23 18:58:40 +09:00
giginet
edac4a355b Resolve Info.plist path 2019-10-23 18:58:40 +09:00
Yuta Saito
89e5c5636c Merge branch 'external-target-ref' of github.com:kateinoigakukun/XcodeGen into external-target-ref 2019-10-23 07:51:31 +09:00