Commit Graph

129 Commits

Author SHA1 Message Date
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
yonaskolb a6493cf3fd fix typo 2019-11-20 22:36:49 +11: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
yonaskolb 0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +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
yonaskolb 518d8e578b restructure test targets 2019-10-27 23:15:12 +11:00
yonaskolb d0d509c1a5 swiftformat 2019-10-27 22:37:41 +11:00
giginet e63fe6be6f Add resolveGroupPath 2019-10-16 05:57:39 +09:00
Kohki Miki 62a26b0a17 Merge branch 'master' into project-path 2019-10-09 16:36:42 +09:00
giginet 7db2d2c526 Rename to projectDirectory 2019-10-08 22:52:51 +09:00
giginet 6a4320612a Refactor 2019-10-08 22:48:42 +09:00
giginet f9b42c2d4f Resolve relativePath 2019-10-08 22:48:42 +09:00
giginet 90b018ad28 Passing relative path 2019-10-08 22:48:42 +09:00
giginet 44c7a0cae2 Pass projectDestinationDirectory 2019-10-08 22:48:42 +09:00
giginet 2c60f5effa Use relativePath for group 2019-10-08 22:48:42 +09:00
Nikita Ivanchikov 18089e3306 Fix some localized resources not being included into project groups 2019-10-08 00:35:41 +03:00
Qusic 9ea7ed11e3 Add .rcproject path to sources build phase
.rcproject directories are projects of Reality Composer app bundled in Xcode 11 or later.
2019-10-02 13:00:39 +08:00
yonaskolb 8e48c7b07f put local packages into a Packages group and add options.localPackagesGroup 2019-09-27 22:49:05 +10:00
yonaskolb 8e6195c368 make local packages relative 2019-09-27 21:43:42 +10:00
yonaskolb e9193cfb29 add support for localPackages 2019-09-27 21:36:07 +10:00
yonaskolb e3fc07d37f generate packages 2019-09-27 17:10:55 +10:00
Yuta Saito d3bf42f2ca Check sourceTree also to ensure they have same root 2019-09-22 19:30:33 +09:00
Yuta Saito e278a706fe Add comment 2019-09-21 20:03:09 +09:00
Yuta Saito 0dc4a8de41 Copy cachedGroup.children and write back only once 2019-09-21 20:00:46 +09:00
Yuta Saito fa8c71569a Check only path to avoid slow equability check 2019-09-16 15:35:24 +09:00
Brian Clymer 626bf295cb CR feedback 2019-09-01 20:09:59 -05:00
Brian Clymer 1a2efd656f Merge branch 'master' into BC-IncludesOnly 2019-09-01 15:20:08 -05:00
Brian Clymer bc6ba9b108 Address CR comments. 2019-08-31 11:57:20 -05:00
Brian Clymer 407ca12393 Perform the relative location check much faster. 2019-08-28 15:54:03 -05:00
Brian Clymer fbac8af327 Include path even if it's only a relative of the included file. 2019-08-28 15:48:47 -05:00
Brian Clymer f918bf54ea Add support for explicit includes on sources.
They are overridden by excludes.
2019-08-28 14:22:35 -05:00
Brian Clymer bcdbad4a10 Add recursive glob support. 2019-08-28 13:39:05 -05:00
Keith Smiley acb56f8866 Ignore files with orig extension
This is useful for multi-developer projects where you don't want to
delete these files for everyone, since they might actually want them,
but they still aren't useful to show in Xcode.

Fixes https://github.com/yonaskolb/XcodeGen/issues/310
2019-08-24 11:57:10 -07:00
yonaskolb 745be5fc1d update import name 2019-06-26 16:49:10 +10:00
Min Kim e034dc982f Merge branch 'master' into min/no_codegen 2019-06-13 21:38:52 -07:00
Thi ae35da8d17 Don't bundle .pch files as resources
Fixes #593
2019-06-10 10:43:23 +09:00
min efb5951d13 Allow more flexibility by accepting an [String] for attributes 2019-05-11 08:36:24 -07:00
min 60a0f64416 Add support for no_codegen settings ATTRIBUTE 2019-05-07 20:42:44 -07:00
Steven Roebert 152f34a55e Fixed flattening of relative paths (#525) 2019-04-07 12:36:04 +02:00
yonaskolb c73bad3312 Fix optional file sources 2019-04-04 23:32:55 +11:00
yonaskolb ad276a8bc8 support Swift 5 2019-03-27 19:00:20 +11:00
Yonas Kolb c07f016f4d fix error on optional sources 2019-02-27 22:51:12 +11:00
Elliott Williams b5dcc9c4c4 Use relativePath(from:) in more places
This uncovered a seeming inconsisteny with how folder reference paths
were specified vs all other paths.
2019-02-24 16:13:49 -08:00
Elliott Williams 3b15144033 Determine relative path for top-level groups 2019-02-21 11:46:23 -08:00