277 Commits

Author SHA1 Message Date
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 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
Andras Kadar 5bf1678e1f Remove default empty array & add changelog 2019-05-17 09:34:20 +02: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 65dec6b652 Define default property values 2019-04-20 12:13:25 +09:00
ryohey d5649a1bd3 Allow nil values 2019-04-20 12:12:26 +09:00
ryohey 117b90d13f Don't omit empty arrays
https://github.com/yonaskolb/XcodeGen/pull/545#discussion_r271688539
2019-04-20 12:12:26 +09:00
ryohey b27f71eac1 Unify encoding protocols into JSONEncodable
https://github.com/yonaskolb/XcodeGen/pull/545#discussion_r271690085
2019-04-20 12:12:26 +09:00
ryohey 010b1c3804 Implement encoding to JSON 2019-04-20 12:12:26 +09:00
ryohey 6ee42d5c68 Add encoding protocol 2019-04-20 12:12:26 +09:00
Kryštof Matěj 0533dda0a6 Added support for custom framework root 2019-04-08 15:41:06 +02:00
Yonas Kolb fde42399de update to xcodeproj 6.6 2019-04-01 20:07:07 +11:00
yonaskolb ad276a8bc8 support Swift 5 2019-03-27 19:00:20 +11:00
yonaskolb bcbc83dd75 rename includeCarthageRelatedDependencies to findCarthageFrameworks and includeRelated to findFrameworks 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
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 a19871aaac Some additional tidy up & code improvements 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 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
Yonas Kolb 7350349b04 Merge pull request #505 from yonaskolb/add_framework_search_paths
Add createIntermediateGroups to TargetSource
2019-01-28 22:17:22 +11:00
Yonas Kolb 8d06dbe8ca add createIntermediateGroups to TargetSource 2019-01-28 21:52:29 +11:00
Yonas Kolb 43d8927fdf remove some transformed path from options 2019-01-28 21:51:17 +11:00
Yonas Kolb a6ca395033 remove basePath init requirement 2019-01-28 21:51:17 +11:00
Yonas Kolb 862b19aa1a refactor Spec 2019-01-28 21:51:17 +11:00
Yonas Kolb 6f4c7d79ac replace $target_name in target templates 2019-01-28 15:54:56 +11:00
Ell Neal 8eadc2f96c Remove some imports that are no longer necessary 2019-01-27 15:34:41 +00:00
Ell Neal d54bbe711c #whitespace 2019-01-27 15:27:30 +00:00
Ell Neal 370963ec73 Move PathContainer & PathProperty into their own file 2019-01-27 15:26:58 +00:00
Ell Neal 720b2eede1 Move [PathProperty] resolver to spec loader file 2019-01-27 15:24:22 +00:00
Ell Neal 060aca8327 Rename Project.Spec --> Spec 2019-01-27 15:23:23 +00:00
Ell Neal 1d62b46423 #whitespace 2019-01-27 12:46:00 +00:00
Ell Neal 032386e41c Merge branch 'master' into feature/current-directory-expander.yml 2019-01-27 12:37:51 +00:00
Ell Neal 71a7ec0588 Move path expansion logic into the spec file 2019-01-27 12:34:17 +00:00
Ell Neal 25a4d48b83 Remove deprecations 2019-01-27 12:24:16 +00:00