374 Commits

Author SHA1 Message Date
Yonas Kolb 15559eb651 Merge pull request #805 from kateinoigakukun/katei/support-SWIFT_INSTALL_OBJC_HEADER
Avoid copying ObjC interface header when SWIFT_INSTALL_OBJC_HEADER=false
2020-03-25 11:30:05 +11:00
Yuta Saito b7d658157e Merge branch 'master' into katei/support-SWIFT_INSTALL_OBJC_HEADER 2020-03-20 11:50:05 +09:00
freddi 550df76722 Make SwiftPackage itself as enum 2020-03-19 23:29:46 +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) 8dcfd07bd5 Update Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-03-18 17:13:50 +09:00
Yuta Saito 78c11f94a3 Avoid to copy ObjC interface header when SWIFT_INSTALL_OBJC_HEADER=false 2020-03-14 02:37:00 +09:00
freddi 80fdc18b25 Updated Test 2020-03-05 20:55:34 +09:00
freddi 81c2f4ec67 Added support local package on packages: 2020-03-05 20:40:01 +09:00
freddi 7ca1ba2400 Fixed added test code 2020-03-04 19:43:46 +09:00
freddi 3cab6b989c Added Test for generates local swift packages 2020-03-04 01:03:39 +09:00
freddi ae4092d0dd Removed unnecessary try in test 2020-03-03 22:34:01 +09:00
freddi 0b5585f122 Support Swift Package in local by localPackages 2020-03-03 21:33:18 +09:00
Ken Tominaga e3f8ae9e85 Set defaultConfigurationName for every target in a project 2020-02-24 16:57:36 -08:00
yonaskolb d966e9d610 fix legacy targets dependencies 2020-02-07 10:09:09 +11:00
Christopher Rogers 5966e294e7 Stabilize sorting of groups with duplicate names/paths (#671)
* Stabilize sorting of groups with duplicate names/paths

For example, previously a group with (name: nil, path: "Sources") would be considered equal to (name: "Sources", path: "../Sources"), even though they are distinct groups.

* Remove Comparable conformance from PBXFileElement

...as it isn't compatible with its Equatable conformance.

Renamed localizedStandardCompare to reflect the fact that PBXFileElement no longer has an inherent order.

* Update changelog
2020-02-02 09:46:17 +11: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
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
Yuta Saito 6abca395bc Merge branch 'master' into katei/add-bundle-dependency 2019-12-01 22:16:14 +09:00
Ken Tominaga fd05b9ba08 Use Xcode.IDEFoundation.Launcher.PosixSpawn for TestAction when debugEnabled: false 2019-11-23 01:46:57 +09:00
Yuta Saito 49f29e9156 Merge branch 'master' into katei/add-bundle-dependency 2019-11-20 19:35:38 -08:00
Yuta Saito f2452a86d1 Remove debug code 2019-11-20 20:39:30 +09:00
yonaskolb 9563af8bf9 fix test 2019-11-20 22:19:43 +11:00
yonaskolb 66ba10c3c6 print group hierarchy on source generator test failure 2019-11-20 22:18:32 +11:00
Yuta Saito db1f711ac8 Add test case 2019-11-20 16:53:45 +09:00
Romuald CARI 0df37029cc Fix TargetSource group behavior
When targeting a file, a folder should not be created for its directory,
only the file should appear in the specified custom group.
Moreover, if the custom groups contains actual filesystem folders, they
should map to these.
2019-11-19 15:56:24 -05:00
Romuald CARI de9c15ea1d Fix @sroebert PR based on @yonaskolb comments 2019-11-19 15:56:23 -05: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
Kohki Miki cad36baa6d Update SourceGeneratorTests.swift 2019-11-19 04:38:05 +09:00
giginet 5e9a2a9651 Add test case with buildPhase 2019-11-19 04:34:28 +09:00
giginet e24fa881da Tweak 2019-11-19 03:35:51 +09:00
giginet c5e9f07a53 Add tests to add intentdefinition to build source phases 2019-11-19 03:00:08 +09:00
yonaskolb 865ad156b2 use custom unwrap function 2019-11-10 12:18:04 +11:00
yonaskolb 66569d3670 use XCTUnwrap 2019-11-10 12:09:37 +11:00
yonaskolb 0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +11:00
Kohki Miki 03076f40eb Support Static Frameworks for Carthage dependencies (#688) 2019-11-07 11:03:26 -06:00
wag-miles c5905581d5 Fix header phase for static frameworks (#705) 2019-11-06 14:09:20 -06: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 e45b0d0f43 Fix build errors 2019-10-27 13:02:53 +09:00
Yuta Saito 3d58b3d104 Merge branch 'master' into test-coverage 2019-10-27 12:58:30 +09:00
Yuta Saito f81adfe291 Merge branch 'external-target-ref' into test-coverage 2019-10-27 12:57:23 +09:00
Yonas Kolb f9e5f23c2b Support External Target Reference (#655)
Support External Target Reference
2019-10-27 14:11:35 +11:00
Yuta Saito c4305dd02e Add validation for project reference 2019-10-27 09:00:21 +09:00
giginet d4c5b29ca3 Add tests for Info.plist 2019-10-23 18:58:40 +09:00
Kohki Miki 5b5d0e917e Merge pull request #681 from giginet/project-path
Resolving relative paths with custom project destination
2019-10-23 04:15:51 +09:00
giginet 80808d69c8 Rename 2019-10-22 23:37:01 +09:00
Franz Busch cb2ee6cbaa Code review comments 2019-10-22 10:39:42 +02:00
Franz Busch b5773eff6a Don't generate CFBundleExecutable for targets of type bundle 2019-10-22 09:39:22 +02:00