282 Commits

Author SHA1 Message Date
yonaskolb d921d14259 make format_code 2019-09-01 22:02:53 +10:00
Yonas Kolb 2e306b2a12 Merge branch 'master' into master 2019-09-01 03:04:35 +10:00
Yonas Kolb 3a67d0e53c Merge branch 'master' into disable_main_thread_checker 2019-09-01 02:53:28 +10:00
Yuta Saito 458ba9de89 Allow to link dylib into static library only when 'link' is true (#635)
* Allow to link dylib into static library only when 'link' is true

* Add test case to proof that links only when true

* Update CHANGELOG.md
2019-08-28 13:52:27 -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
haritowa 8e21cdfdb1 Include unique file only once
Fixes #574
2019-08-19 12:42:53 -05:00
Miles Hollingsworth d32a710fa2 add disable main thread checker for test actions 2019-08-02 09:21:22 -07:00
yonaskolb 401df4042a fix swift 5.1 warnings 2019-06-26 17:02:42 +10:00
yonaskolb d71612cbe0 update code to new XcodeProj 2019-06-26 16:49:10 +10:00
yonaskolb 745be5fc1d update import name 2019-06-26 16:49:10 +10:00
Tom Quist d3b096a525 Add additional spec for variable expension in combination with template attributes 2019-06-19 22:32:01 +02:00
Tom Quist c8aef74a93 Fix review suggestions 2019-06-17 00:01:33 +02:00
Tom Quist 25260963c7 Add environment variable expansion
closes #587
2019-06-16 23:48:58 +02:00
Min Kim e034dc982f Merge branch 'master' into min/no_codegen 2019-06-13 21:38:52 -07:00
min efb5951d13 Allow more flexibility by accepting an [String] for attributes 2019-05-11 08:36:24 -07:00
Andras Kadar bb311b1ca7 Allow skipping tests in test targets 2019-05-08 08:31:21 +02:00
min 60a0f64416 Add support for no_codegen settings ATTRIBUTE 2019-05-07 20:42:44 -07:00
ryohey 0889882aac Add test for JSON encoding 2019-04-20 12:12:26 +09:00
Yonas Kolb 0c1ec6f677 Merge pull request #550 from sroebert/master
Fixed flattening of relative paths (#525)
2019-04-09 21:57:39 +10:00
Kryštof Matěj 0533dda0a6 Added support for custom framework root 2019-04-08 15:41:06 +02:00
Steven Roebert d12bd0a426 Added unit test for testing the flattening of relative paths #(550) 2019-04-07 13:05:01 +02:00
yonaskolb c73bad3312 Fix optional file sources 2019-04-04 23:32:55 +11:00
yonaskolb 16bc081944 update to xcodeproj 6.7 2019-04-01 20:15:38 +11:00
yonaskolb ad276a8bc8 support Swift 5 2019-03-27 19:00:20 +11:00
yonaskolb fa156c1028 Swiftformat 2019-03-25 21:11:29 +11:00
yonaskolb bcbc83dd75 rename includeCarthageRelatedDependencies to findCarthageFrameworks and includeRelated to findFrameworks 2019-03-24 22:59:29 +11:00
yonaskolb 5accd0e095 just return framework strings from version files 2019-03-24 22:59:29 +11:00
yonaskolb 034f84e3bb add tests for de-duplicated carthage version references 2019-03-24 22:59:29 +11:00
yonaskolb c325176338 split Carthage fixtures up 2019-03-24 22:59:29 +11:00
yonaskolb 8c441d83e4 extracted CarthageVersionLoader and refactored 2019-03-24 20:23:49 +11:00
yonaskolb 3289fdc797 fix include relative sources in mixed arrays 2019-03-24 17:56:43 +11:00
yonaskolb c9de565641 make sure to still handle platform specific templates 2019-03-24 17:24:55 +11:00
Yonas Kolb 94e08a78b5 Fix multi-platform target templates 2019-03-24 17:17:55 +11:00
Tom Quist aaae772d0e Add ability to define templateAttributes within a target
This allows parameterizing templates. Also change
placeholder syntax to `${placeholderName}` also for
existing placeholders `$target_name`and `$platform`
and generate warnings when using the old placeholder
syntax.
2019-03-17 14:55:15 +01:00
Yonas Kolb 8dd2ec89cc Merge pull request #534 from tomquist/support-nested-templates
Add support for nested templates
2019-03-17 21:55:25 +11:00
Tom Quist 0c2554db2b Add support for nested templates
It would be convenient if templates could be nested, which means
a template can be based on another template.

This change implements support for nested templates. It avoids
cycles by just ignoring templates that have already been visited
when collecting the set of templates to use.
2019-03-17 11:29:50 +01:00
yonaskolb 32b3d8c362 fix relative paths in included target templates 2019-03-17 19:38:36 +11:00
Yonas Kolb ac00ad9615 don't modify exclueds path with relative include path 2019-03-16 23:17:33 +11:00
ainopara 520db0eb08 Make multi platform targets parse deployment target per platform. 2019-03-04 10:24:51 +08:00
Yonas Kolb d4797c3ff6 Merge pull request #524 from elliottwilliams/emw_relative_paths
Compute relative paths to support sources outside a spec's directory
2019-02-27 08:12:51 +11:00
Rogerio de Paula Assis 1e69d705b7 Added includeCarthageRelated global flag, updated tests + documentation to reflect changes 2019-02-22 21:31:23 -05:00
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
Elliott Williams 0639629160 Fix formatting error 2019-02-21 11:53:18 -08:00
Elliott Williams 3b15144033 Determine relative path for top-level groups 2019-02-21 11:46:23 -08:00
Elliott Williams 9f6f5210f7 Add Path.relativePath(from:) 2019-02-21 11:35:42 -08:00
Elliott Williams 732d07072c Only use .missingConfigFiles in its test 2019-02-12 17:05:56 -08:00
Elliott Williams 224def7a09 Rename missingFiles to missingConfigFiles 2019-02-12 13:39:24 -08:00
Elliott Williams 751ecec14e Add missingFiles disabled validation 2019-02-11 19:08:44 -08:00
Yonas Kolb fb3f80d6af run swiftformat 2019-01-28 22:20:01 +11:00