Commit Graph

862 Commits

Author SHA1 Message Date
yonaskolb
e00e8361d8 enable caching by default 2020-02-01 17:30:51 +11:00
Yonas Kolb
49ed1503ef
Add pre and post-gen commands (#759)
* add pre and post-gen commands

* update changelog

* run gen scripts in project directory
2020-01-27 22:22:35 +11:00
Bas van Kuijck
f544dd36e6 Added a simulateLocation option in scheme specs (#756)
* Added a simulateLocation option in scheme specs

* Updated fixtures for simulateLocation

* Use fileGroups instead of sources
2020-01-23 09:12:06 -06:00
sipao
3a9131a21a Add support On Demand Resources (#753)
* added on-demand-resources setting to project.yml

* update documents

* Apply suggestions from code review

fixed docs

Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>

* Make it possible to resourceTags convert to json

* Use sorted() instead of Array initializer

* Avoid merge assetTags if it is empty

* Changed access to resourceTags to inline

* Don't add resourceTags other than chosenBuildPhase is .resources

* update CHANGELOG.md

* update spec loading test

* add a new "generates resource tags" test case

* add resourceTags in Test Fixture and update

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-01-21 08:47:31 +11:00
Bas van Kuijck
d10dcc9a0e Validate package version value (#755)
* Validate package version value

* Added CHANGELOG entry

* Improved testcases for package versions
2020-01-15 13:29:24 -06:00
John Flanagan
c52ed49a29 Prefer default Debug and Release configs 2020-01-14 21:40:12 -06:00
Kamil Pyć
74203dc62d
Merge branch 'master' into use_relative_path_for_XcodeProj 2020-01-12 18:22:41 +01:00
Yonas Kolb
308b351a7a
Merge pull request #744 from ikesyo/avoid-adding-unnecessary-path-to-FRAMEWORK_SEARCH_PATHS
Don't add framework dependency's directory to FRAMEWORK_SEARCH_PATHS if it is implicit
2020-01-12 21:45:39 +11:00
Dan Loman
0c6dd1401a
Add option to generate only plist files
Add changelog entry

Update CHANGELOG.md

Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>

Update to new flag PropertyWrapper
2020-01-07 13:49:03 -08:00
Kamil Pyć
9bf657cb1d
Use full path for XcodeProj
This solves issue with relative project path.
2020-01-07 14:20:16 +01:00
Sho Ikeda
a4624d3e18 Don't add framework dependency's directory to FRAMEWORK_SEARCH_PATHS if it is implicit
Because we assume the dependency is in BUILT_PRODUCTS_DIR.

Co-authored-by: yutailang0119 <muta.yutaro@gmail.com>
2020-01-06 23:10:14 +09:00
Yuta Saito
2f312361bc Merge remote-tracking branch 'origin/master' into katei/resolve-proj-ref-relative 2020-01-06 20:54:05 +09:00
Yuta Saito
8fe5c0cd16 Validate project reference path 2020-01-06 20:51:58 +09:00
yonaskolb
06a02425f6 use new property wrappers in SwiftCLI 6.0 2020-01-05 11:43:26 +11:00
Yonas Kolb
4339007e66
Merge pull request #723 from kateinoigakukun/katei/add-bundle-dependency
Add bundle dependency type
2019-12-12 22:21:23 +11:00
Yuta Saito
ce92dd69b4 Replace projectReference.path as relativePath correctly 2019-12-11 20:05:17 +09:00
Franz Busch
bedbfef9cd Add support for language and region for targets 2019-12-04 09:35:56 +01:00
yonaskolb
f064bdf6a1 Update to 2.11.0 2019-12-03 22:57:09 +11:00
Yuta Saito
6abca395bc
Merge branch 'master' into katei/add-bundle-dependency 2019-12-01 22:16:14 +09:00
Atsushi Kiwaki
73c52f5898 Fixed unnecessary dependencies related to SwiftPM (#726) 2019-11-27 12:42:14 -06:00
Ken Tominaga
fd05b9ba08 Use Xcode.IDEFoundation.Launcher.PosixSpawn for TestAction when debugEnabled: false 2019-11-23 01:46:57 +09:00
Yuta Saito
49f29e9156 Merge branch 'master' into katei/add-bundle-dependency 2019-11-20 19:35:38 -08:00
yonaskolb
a6493cf3fd fix typo 2019-11-20 22:36:49 +11:00
yonaskolb
66ba10c3c6 print group hierarchy on source generator test failure 2019-11-20 22:18:32 +11:00
Yuta Saito
46925cdd7d Separate Resources and Bundles 2019-11-20 16:24:05 +09:00
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
giginet
c5e9f07a53 Add tests to add intentdefinition to build source phases 2019-11-19 03:00:08 +09:00
giginet
e1f520c358 Merge remote-tracking branch 'origin/master' into intent-definitions 2019-11-19 02:51:17 +09:00
Yuta Saito
7669d60d66 Add copying bundles phase to trigger building Bundle 2019-11-18 19:14:12 +09:00
Yuta Saito
e336f56093 Support .bundle dependency 2019-11-18 18:07:46 +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
eda9a5fba2 remove customized file types 2019-11-10 12:42:58 +11:00
yonaskolb
865ad156b2 use custom unwrap function 2019-11-10 12:18:04 +11:00
yonaskolb
0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +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
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
giginet
b1b216b1b5 Use VariantGroup 2019-11-08 04:02:26 +09:00
giginet
ae75bcb2cb Localized 2019-11-08 02:52:50 +09:00
giginet
decaa9d080 Generate suitable source files for localized file reference 2019-11-08 02:12:10 +09:00
Kohki Miki
03076f40eb Support Static Frameworks for Carthage dependencies (#688) 2019-11-07 11:03:26 -06: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
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
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