373 Commits

Author SHA1 Message Date
freddi(Yuki Aki) 18efe96637 Merge branch 'master' into support-local-sp-with-packages 2020-03-23 10:12:18 +09:00
Evan Coleman 0d714bb47e add buildImplicitDependencies to TargetScheme 2020-03-20 13:23:50 -04:00
freddi af3a7e0596 Resolve local package name from abstract path
- Also, added Comment
2020-03-19 23:58:52 +09:00
freddi 6bbd90ce4b Removed new style of localPackages implemented at #796 2020-03-19 23:37:07 +09:00
freddi a3ddb4863d Reverted parsing order of path and url for making switch package easy 2020-03-19 23:33:18 +09:00
freddi 550df76722 Make SwiftPackage itself as enum 2020-03-19 23:29:46 +09:00
freddi defd73fca9 Removed LocalSwiftPackage 2020-03-18 22:10:44 +09:00
freddi e61dafdf55 Removed unnecessary space 2020-03-18 21:48:34 +09:00
freddi ca8136b62d Removed localPackages variable 2020-03-18 21:32:24 +09:00
freddi 5eb4c33197 Merge branch 'support-local-sp' into support-local-sp-with-packages 2020-03-18 20:50:23 +09:00
freddi(Yuki Aki) da930999c7 Merge branch 'master' into support-local-sp 2020-03-18 16:15:55 +09:00
freddi 105367b395 Fixed local packages is not linked as framework 2020-03-05 23:36:00 +09:00
freddi 19853921df Added validation of local package 2020-03-05 21:30:40 +09:00
freddi 77a3cf4b2f Changed validateVersion as static 2020-03-05 20:57:54 +09:00
freddi 81c2f4ec67 Added support local package on packages: 2020-03-05 20:40:01 +09:00
ionutivan 5487e3ce18 add property stopOnEveryMainThreadCheckerIssue to the scheme, target scheme and generator 2020-03-04 17:21:18 +01:00
freddi d184a9d2b6 Changed how to use reduce at localPackages 2020-03-04 23:01:06 +09:00
freddi b351d592b7 Fixed Test 2020-03-03 22:34:09 +09:00
freddi 47c17d65ee Fixed test by defining initializer of LocalSwiftPackage 2020-03-03 22:24:56 +09:00
freddi 0b5585f122 Support Swift Package in local by localPackages 2020-03-03 21:33:18 +09:00
yonaskolb ce787d9e40 use mxcl/Version to fix parsing 2020-02-07 10:49:28 +11:00
Liam Nichols d69b028294 Update SpecValidation to validate TargetReference definitions in the Scheme.Test action. Add additional coverate to ProjectSpectTests 2020-02-06 10:45:21 +00:00
Evan Coleman 6bfd620549 Support external target dependencies via subprojects (#701)
* Allow external target dependencies via subprojects

* Update CHANGELOG

* Update ProjectSpec

* Fix test

* Use existing fixture for test

* Sort subprojects by name

* Throw subproject generation error instead of crashing

* Cleanup target dependency generation

* Update test fixture project

* Combine extentions in Linkage

* Update XcodeProj to 7.7.0

* Update CHANGELOG.md

* Update ProjectSpec.md

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-02-02 09:44:56 +11:00
Yonas Kolb 6b7b7e6134 Update and lock XcodeProj to 7.7.0 (#767) 2020-02-02 09:35:45 +11:00
Yonas Kolb 49ed1503ef Add pre and post-gen commands (#759)
* add pre and post-gen commands

* update changelog

* run gen scripts in project directory
2020-01-27 22:22:35 +11:00
Bas van Kuijck f544dd36e6 Added a simulateLocation option in scheme specs (#756)
* Added a simulateLocation option in scheme specs

* Updated fixtures for simulateLocation

* Use fileGroups instead of sources
2020-01-23 09:12:06 -06:00
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
Bas van Kuijck d10dcc9a0e Validate package version value (#755)
* Validate package version value

* Added CHANGELOG entry

* Improved testcases for package versions
2020-01-15 13:29:24 -06:00
Yuta Saito 2f312361bc Merge remote-tracking branch 'origin/master' into katei/resolve-proj-ref-relative 2020-01-06 20:54:05 +09:00
Yuta Saito 8fe5c0cd16 Validate project reference path 2020-01-06 20:51:58 +09:00
Yonas Kolb 4339007e66 Merge pull request #723 from kateinoigakukun/katei/add-bundle-dependency
Add bundle dependency type
2019-12-12 22:21:23 +11:00
Yuta Saito ce92dd69b4 Replace projectReference.path as relativePath correctly 2019-12-11 20:05:17 +09:00
Franz Busch bedbfef9cd Add support for language and region for targets 2019-12-04 09:35:56 +01:00
Yuta Saito 49f29e9156 Merge branch 'master' into katei/add-bundle-dependency 2019-11-20 19:35:38 -08: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
Yuta Saito e336f56093 Support .bundle dependency 2019-11-18 18:07:46 +09:00
yonaskolb 0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +11:00
yonaskolb 44f9ffa51a formatting 2019-11-10 11:38:53 +11:00
yonaskolb 43cd0ec33e add dump command 2019-11-10 11:37:52 +11:00
Kohki Miki 03076f40eb Support Static Frameworks for Carthage dependencies (#688) 2019-11-07 11:03:26 -06:00
Romuald Cari e38360d5e3 Fix crash on empty ${} variable expansion (#706)
This fix got lost in #704 reworks.
2019-11-06 14:12:11 -06:00
wag-miles c5905581d5 Fix header phase for static frameworks (#705) 2019-11-06 14:09:20 -06:00
Romuald Cari 06a6616b88 Improving variable expansion runtime (#704)
* Improving variable expansion runtime

The current implementation of variable expansion is O(n x m) with n being the
number of strings in the project spec and m being the number of project variables.

This implementation is now O(n).

Also, this effectively deprecates the support for $legacy_variables in favor of the
${new_variables} making this whole patch possible.

* Adding option to disable variable expansion

* Adding performance test for spec loading

* Updating changelog
2019-11-06 08:33:54 -06:00
yonaskolb 203d96e343 fix some build errors 2019-10-30 11:40:55 +11: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
Yuta Saito f81adfe291 Merge branch 'external-target-ref' into test-coverage 2019-10-27 12:57:23 +09:00
Yuta Saito bbed01d1d6 Cache pbxproj by reference name 2019-10-27 09:23:35 +09:00
Yuta Saito fbc7e9442d Use propery initializer for TestTarget 2019-10-27 09:08:51 +09:00
Yuta Saito 1285a3e25e Rename TargetReference.init label 2019-10-27 09:07:04 +09:00