259 Commits

Author SHA1 Message Date
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
Ell Neal 4d458ad6e4 Simplify dictionary extension 2019-01-27 12:23:48 +00:00
Ell Neal 6628c382ac Rename useRelativePaths --> relativePaths 2019-01-27 12:22:46 +00:00
Yonas Kolb 4062b6c883 Merge pull request #500 from lukewakeford/build_script_xcfilelist
Adding input and output file lists to build script spec
2019-01-25 08:37:33 +11:00
Ell Neal 6589b840f6 Add option to revert to legacy path behaviour 2019-01-24 13:46:55 +00:00
Ell Neal d2579bfe43 Refactor the PathContainer protocol to be a bit more expressive 2019-01-24 12:50:34 +00:00
Luke Wakeford df0e396b75 Adding input and output file lists to build script spec 2019-01-23 14:40:45 +00:00
Yonas Kolb 7581653b85 fix tools not being added as executables in schemes 2019-01-22 15:44:55 +11:00
Ell Neal 151d78ef98 Rename PathContaining -> PathContainer 2019-01-21 13:32:13 +00:00
Ell Neal 05a564c324 Use normal imports 2019-01-21 13:12:14 +00:00
Ell Neal ccf002f8bf Consistent default value and guard check 2019-01-15 12:27:13 +00:00
Ell Neal 8f4c0953b3 Add back deleted public functions and deprecate (prevent breaking public API) 2019-01-15 12:26:47 +00:00
Ell Neal a7e1554115 Expand paths when initializing the Project model from a Spec 2019-01-13 18:22:56 +00:00
Ell Neal 98aeef46dc Implement PathContaining on relevant models 2019-01-13 18:22:34 +00:00
Ell Neal f9df768ec0 Add a PathContaining protocol for expanding paths to the source file's directory 2019-01-13 18:18:48 +00:00
Ell Neal a2684a96a4 Replace global merge function with extension on Dictionary 2019-01-13 18:16:17 +00:00
Ell Neal 8928088dfe Use the Spec struct rather than dictionaries directly 2019-01-13 18:14:52 +00:00
Ell Neal c90e045bc8 Add a project spec struct to abstract spec files on disk 2019-01-13 18:08:35 +00:00
Ell Neal a9ecef37bc Remove the $(CURDIR) expansion (it was a bad idea) 2019-01-13 18:06:05 +00:00