258 Commits

Author SHA1 Message Date
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
Yonas Kolb f154b4d1cb Merge pull request #503 from yonaskolb/fix/config_lookup
Don't partial apply exact config matches
2019-01-28 22:18: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 d0c257e938 don't partial apply exact config matches 2019-01-28 21:53:48 +11:00
Yonas Kolb 8d06dbe8ca add createIntermediateGroups to TargetSource 2019-01-28 21:52:29 +11:00
Yonas Kolb ce60fadb54 use SpecLoader in tests 2019-01-28 21:51:17 +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 060aca8327 Rename Project.Spec --> Spec 2019-01-27 15:23:23 +00:00
Ell Neal 032386e41c Merge branch 'master' into feature/current-directory-expander.yml 2019-01-27 12:37:51 +00:00
Kryštof Matěj ec60901ff7 Fix carhage dependency resolving 2019-01-25 07:40:12 +01:00
Ell Neal 16a02fa1a6 Add tests for legacy path behavior 2019-01-24 13:47:21 +00:00
Luke Wakeford 52e15654c5 Updating spec loading tests for build scripts with input and output file lists 2019-01-24 12:52:08 +00:00
Rogerio de Paula Assis e6e8b58db4 Fixes issue with sticker pack targets generating redundant compile sources build phase 2019-01-15 22:57:22 -05:00
Ell Neal b144db3d70 Add test and modify fixtures for verifying paths are expanded correctly 2019-01-13 18:27:08 +00:00
Ell Neal 05fa244a89 Add $(CURDIR) helper to expand the base path of the spec file 2019-01-10 11:43:04 +00:00
Beniamin Sarkisian b24753e233 Updated tests 2019-01-08 17:08:58 +03:00
Beniamin Sarkisian f094f4073f Updated tests 2019-01-08 17:01:25 +03:00
Yonas Kolb f04c3e0496 format code 2018-12-18 22:37:22 +11:00
David W. Berry 7e2c870762 Add mlmodel to compiled file extensions (#457) 2018-12-13 13:03:46 -06:00
feischl97 8f9e891fce Merge branch 'master' into fix-issue-440 2018-11-26 13:26:43 +01:00
feischl97 5ffeade6b8 add test info does not override info.plist setting 2018-11-26 11:58:00 +01:00
Yonas Kolb f022d1edc9 add .intentdefinition to sources by default 2018-11-22 21:55:53 +11:00