Commit Graph

1005 Commits

Author SHA1 Message Date
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
bbed01d1d6 Cache pbxproj by reference name 2019-10-27 09:23:35 +09:00
Yuta Saito
d3560e7f6b Use convenience initializer for TargetReference.local 2019-10-27 09:11:27 +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
Yuta Saito
c4305dd02e Add validation for project reference 2019-10-27 09:00:21 +09:00
Malcolm Jarvis
d22ab944c4 Fix macOS unit test target TEST_HOST (#696)
Resolves #695

Previously, macOS unit test targets would appear to have no test host.

By manually setting the test host in Xcode on the fixture project, I discovered that macOS test hosts require an additional `Contents/MacOS/` path component before the product name.

We can manually detect the platform when setting the test host and as such generate the host correctly for macOS unit test targets.
2019-10-24 11:12:00 -05:00
Yuta Saito
848dfe28ba Re-revert 'Throw error instead of fatalError' partially 2019-10-24 08:21:32 +09:00
giginet
edac4a355b Resolve Info.plist path 2019-10-23 18:58:40 +09:00
Yuta Saito
31667516a5 Revert 'Throw error instead of fatalError' 2019-10-23 07:50:29 +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
Kohki Miki
2166a0387e
Adding a default argument for backward compatibility. 2019-10-22 03:08:48 +09:00
Yuta Saito
c432337ef7 Throw error instead of fatalError 2019-10-21 18:32:49 +09:00
Yuta Saito
70cb2df5f7 Minimize protocol conformance declarations 2019-10-21 18:07:47 +09:00
Yuta Saito
7075777f99 Make 'let' properties as 'var' 2019-10-21 18:02:58 +09:00
Yuta Saito
4d8ffe76cb Remove file header 2019-10-21 18:01:05 +09:00
giginet
e63fe6be6f Add resolveGroupPath 2019-10-16 05:57:39 +09:00
Yuta Saito
be9c6a27b5 Merge branch 'master' into external-target-ref 2019-10-15 15:55:12 +09:00
Yuta Saito
c2ab781acb Fix buildableName generation logic 2019-10-15 15:47:28 +09:00
Yuta Saito
1c6409266b Improve TargetReference initializer interface 2019-10-15 15:33:35 +09:00
Yuta Saito
e0dfc72f85 Conform TargetReference to CustomStringConvertible 2019-10-15 15:15:25 +09:00
Yuta Saito
55613785da Move TargetReference to it's own file 2019-10-15 15:12:44 +09:00
Yuta Saito
d978cf4df2 Rename ExternalProject -> ProjectReference 2019-10-15 15:10:01 +09:00
yonaskolb
c733047d4c Update to 2.9.0 2019-10-14 21:15:34 +11:00
Yuta Saito
236c7c4f13 Add Hashable conformance for TargetReference 2019-10-10 23:49:41 +09:00
Yuta Saito
0a43435af3
Merge branch 'master' into external-target-ref 2019-10-10 23:38:45 +09:00
Kohki Miki
62a26b0a17
Merge branch 'master' into project-path 2019-10-09 16:36:42 +09:00
Yonas Kolb
3e1b9650b9
Merge pull request #679 from nivanchikov/fix_localized_resources_with_directories
Fix some resource files being placed to "Recovered References" group
2019-10-09 09:00:04 +11:00
giginet
7db2d2c526 Rename to projectDirectory 2019-10-08 22:52:51 +09:00
giginet
6a4320612a Refactor 2019-10-08 22:48:42 +09:00
giginet
f9b42c2d4f Resolve relativePath 2019-10-08 22:48:42 +09:00
giginet
90b018ad28 Passing relative path 2019-10-08 22:48:42 +09:00
giginet
44c7a0cae2 Pass projectDestinationDirectory 2019-10-08 22:48:42 +09:00
giginet
2c60f5effa Use relativePath for group 2019-10-08 22:48:42 +09:00
Yonas Kolb
27564f9a28
Merge pull request #672 from yonaskolb/BC-SchemeTemplates
Scheme Templates
2019-10-08 17:38:32 +11:00
Nikita Ivanchikov
18089e3306 Fix some localized resources not being included into project groups 2019-10-08 00:35:41 +03:00
Brian Clymer
7152d6aa9f Address CR. 2019-10-06 15:33:27 -05:00
Yonas Kolb
c46022cae4
Select suitable configs for auto-generated schemes (#673)
Select suitable configs for auto-generated schemes
2019-10-06 22:16:25 +11:00
Yonas Kolb
8c2700a9c3
Update SwiftCLI (#667)
Update SwiftCLI
2019-10-06 22:05:05 +11:00
giginet
047856a3b2 Remove manipulators 2019-10-05 18:25:09 +09:00
giginet
71922dae56 Rename variables 2019-10-05 18:14:54 +09:00
giginet
7386674fc3 Tweak whitespace 2019-10-03 01:06:07 +09:00
giginet
9061985686 Separate suitableConfig and defaultConfig 2019-10-03 01:05:15 +09:00
Brian Clymer
6e5766a2bc Ensure that target names can be changed by template attributes. 2019-10-02 10:40:15 -05:00
giginet
fb05f675f1 Use defaultConfig(of:in:) 2019-10-02 23:57:17 +09:00
Brian Clymer
682f188288 Refactor to make scheme and target templates use the same code. 2019-10-02 09:06:15 -05:00
giginet
1c4f5442e6 Use default config 2019-10-02 23:04:02 +09:00
Brian Clymer
30e1a84566 Working support for scheme templates. 2019-10-02 08:52:22 -05:00
giginet
d9a84fbbb3 Use struct instead of class 2019-10-02 22:40:42 +09:00
Qusic
9ea7ed11e3 Add .rcproject path to sources build phase
.rcproject directories are projects of Reality Composer app bundled in Xcode 11 or later.
2019-10-02 13:00:39 +08:00
giginet
6cdd9843a2 Update SwiftCLI 2019-10-01 02:09:25 +09:00
Yuta Saito
b96d077252 Merge branch 'master' into external-target-ref 2019-09-30 17:09:04 +09:00
yonaskolb
73982c124f Update to 2.8.0 2019-09-28 16:15:50 +10:00
yonaskolb
b03f682418 add some more lastKnownFileType that Xcode generates 2019-09-28 14:48:36 +10:00
yonaskolb
06eed64380 add version and from 2019-09-27 23:00:30 +10:00
yonaskolb
8e48c7b07f put local packages into a Packages group and add options.localPackagesGroup 2019-09-27 22:49:05 +10:00
yonaskolb
8e6195c368 make local packages relative 2019-09-27 21:43:42 +10:00
yonaskolb
e9193cfb29 add support for localPackages 2019-09-27 21:36:07 +10:00
yonaskolb
41453595cc added package target dependency with XcodeProj 7.1.0 2019-09-27 20:49:32 +10:00
yonaskolb
6c9b814385 don't link packages to static libraries 2019-09-27 19:00:32 +10:00
yonaskolb
98ed4465aa add stub of swift package target dependency 2019-09-27 19:00:32 +10:00
yonaskolb
fe693c7160 add package validation 2019-09-27 17:10:55 +10:00
yonaskolb
e3fc07d37f generate packages 2019-09-27 17:10:55 +10:00
yonaskolb
fa5bd83049 add packages to project spec 2019-09-27 17:10:55 +10:00
Yuta Saito
a97e89b18c Fix passing targetReference 2019-09-24 15:04:40 +09:00
Roman Podymov
0f628f3533
Merge pull request #1 from yonaskolb/master
Update code
2019-09-23 11:45:39 +02:00
Roman Podymov
a275d666cf
swiftlint autocorrect 2019-09-23 09:44:06 +02:00
Roman Podymov
c190fba8bc
Use .valueArray when possible, removed redundant Array() 2019-09-23 09:41:31 +02:00
Roman Podymov
e095fba5f1
Reverted Set() 2019-09-23 09:39:41 +02:00
Roman Podymov
7e1e6f0868
Removed redundant Array() 2019-09-23 09:37:30 +02:00
Roman Podymov
d2e5dbca34
Removed redundant Array(Set()) 2019-09-23 08:43:25 +02:00
Yuta Saito
0595f07611 Resolve conflicts 2019-09-23 00:55:42 +09:00
Yuta Saito
98df51f489 Merge branch 'external-target-ref' into test-coverage 2019-09-23 00:45:53 +09:00
Yuta Saito
cd1d370d91
Merge branch 'master' into external-target-ref 2019-09-23 00:29:35 +09:00
Yuta Saito
30fc642b04 Introduce ProjectName/Target syntax to reference target 2019-09-23 00:23:11 +09:00
Yonas Kolb
78d215235e
Add debugEnabled option for run and test (#657)
Add `debugEnabled` option for run and test
2019-09-22 22:42:10 +10:00
Yuta Saito
2846659313 Set selectedLauncherIdentifier when debug disabled 2019-09-22 21:14:20 +09:00
Yuta Saito
d3bf42f2ca Check sourceTree also to ensure they have same root 2019-09-22 19:30:33 +09:00
Yuta Saito
e278a706fe Add comment 2019-09-21 20:03:09 +09:00
Yuta Saito
0dc4a8de41 Copy cachedGroup.children and write back only once 2019-09-21 20:00:46 +09:00
Yuta Saito
fa8c71569a Check only path to avoid slow equability check 2019-09-16 15:35:24 +09:00
Yuta Saito
a2835ef299 Add debugEnabled option for run and test 2019-09-16 11:00:32 +09:00
Yuta Saito
52cca31892 Rename CoverageTarget.target to name 2019-09-16 00:57:05 +09:00
Yuta Saito
e4844e927c Fix default value JSON encoding 2019-09-16 00:53:21 +09:00
Yuta Saito
dc1628ff3f Generate CodeCoverageTargets 2019-09-16 00:37:20 +09:00
Yuta Saito
a42f7b97ad Add coverageTargets option 2019-09-16 00:37:20 +09:00
Yuta Saito
6397368465
Merge branch 'master' into external-target-ref 2019-09-14 20:18:50 +09:00
Yuta Saito
4e087b6960 Add test case for parsing externalProject in project spec 2019-09-14 20:06:25 +09:00
Yuta Saito
66bdcdbc0b Parse externalProject in build scheme 2019-09-14 19:57:46 +09:00
Yuta Saito
599a2c8ead Add test case for scheme generation 2019-09-14 18:43:59 +09:00
Yuta Saito
67b3256a1b Support external project file for build target 2019-09-14 18:15:43 +09:00
Yuta Saito
c4d63e569a Extract projectName and pbxProj dependency from getBuildEntry 2019-09-14 17:26:31 +09:00
Yuta Saito
213deb8a15 Use pbxTarget methods to get buildableName instead of using project.yml 2019-09-14 17:15:42 +09:00
Yuta Saito
958e17c2f2 Add language and region option to test scheme 2019-09-13 10:09:38 +09:00
Yonas Kolb
c2f9ff2af8
Merge pull request #651 from kateinoigakukun/expand-any-array-template-var
Expand template variable in Array of Any
2019-09-11 19:51:45 +10:00
Yuta Saito
923a60fb63 Add dylib sdk for TestProject 2019-09-10 23:09:27 +09:00
Yuta Saito
4cda0bff5c Expand template variable in Array of Any 2019-09-09 15:28:08 +09:00
Yuta Saito
900e3a1934 Allow dylib extension for SDK linkage 2019-09-09 11:42:24 +09:00
Brian Clymer
626bf295cb CR feedback 2019-09-01 20:09:59 -05:00
Brian Clymer
582193e482 Merge branch 'master' into BC-IncludesOnly 2019-09-01 15:23:24 -05:00
Brian Clymer
1a2efd656f Merge branch 'master' into BC-IncludesOnly 2019-09-01 15:20:08 -05:00
yonaskolb
d921d14259 make format_code 2019-09-01 22:02:53 +10:00
yonaskolb
777b15fe21 Update to 2.7.0 2019-09-01 22:02:24 +10:00
Brian Clymer
b96d695823 Merge branch 'master' of https://github.com/bclymer/XcodeGen 2019-08-31 13:37:45 -05:00
Brian Clymer
55fb10f6a8 Handle non-existent directories gracefully. 2019-08-31 13:37:44 -05:00
Yonas Kolb
2e306b2a12
Merge branch 'master' into master 2019-09-01 03:04:35 +10:00
Brian Clymer
bc6ba9b108 Address CR comments. 2019-08-31 11:57:20 -05:00
Yonas Kolb
3a67d0e53c
Merge branch 'master' into disable_main_thread_checker 2019-09-01 02:53:28 +10:00
Brian Clymer
407ca12393 Perform the relative location check much faster. 2019-08-28 15:54:03 -05:00
Brian Clymer
fbac8af327 Include path even if it's only a relative of the included file. 2019-08-28 15:48:47 -05:00
Brian Clymer
f918bf54ea Add support for explicit includes on sources.
They are overridden by excludes.
2019-08-28 14:22:35 -05:00
Yuta Saito
458ba9de89 Allow to link dylib into static library only when 'link' is true (#635)
* Allow to link dylib into static library only when 'link' is true

* Add test case to proof that links only when true

* Update CHANGELOG.md
2019-08-28 13:52:27 -05:00
Brian Clymer
bcdbad4a10 Add recursive glob support. 2019-08-28 13:39:05 -05:00
Keith Smiley
acb56f8866 Ignore files with orig extension
This is useful for multi-developer projects where you don't want to
delete these files for everyone, since they might actually want them,
but they still aren't useful to show in Xcode.

Fixes https://github.com/yonaskolb/XcodeGen/issues/310
2019-08-24 11:57:10 -07:00
haritowa
8e21cdfdb1 Include unique file only once
Fixes #574
2019-08-19 12:42:53 -05:00
Miles Hollingsworth
7bde3b5641 suggested edits 2019-08-02 09:46:38 -07:00
Miles Hollingsworth
d32a710fa2 add disable main thread checker for test actions 2019-08-02 09:21:22 -07:00
yonaskolb
f63f652988 Update to 2.6.0 2019-06-28 16:59:41 +10:00
yonaskolb
401df4042a fix swift 5.1 warnings 2019-06-26 17:02:42 +10:00
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
Yonas Kolb
06179ebda7
Change compatibilityVersion to Xcode 10.0 (#581)
Change compatibilityVersion to Xcode 10.0
2019-06-14 10:57:12 +10:00
Thi
ae35da8d17
Don't bundle .pch files as resources
Fixes #593
2019-06-10 10:43:23 +09: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
Andrés Cecilia Luque
3baa3b3e4d Updated compatibilityVersion 2019-05-07 18:43:17 +02: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
yonaskolb
1c39ae8105 Update to 2.5.0 2019-04-09 22:15:16 +10:00
Yonas Kolb
0c1ec6f677
Merge pull request #550 from sroebert/master
Fixed flattening of relative paths (#525)
2019-04-09 21:57:39 +10:00
Yonas Kolb
17db27bb9d
Merge pull request #558 from KhaosT/fix-embed-watch-target
Fix Carthage dependencies for watchOS target
2019-04-09 21:47:45 +10:00
Tian Zhang
09801e4b41 Remove unnecessary condition 2019-04-08 19:52:42 -07:00
Tian Zhang
a5f0a9f7ee Fix ITMS-90539
Fix embed condition

Revert "Fix embed condition"

This reverts commit fc586863aad7cda8fc506e02bed10717dae66638.

separate condition
2019-04-08 19:52:42 -07:00
Kryštof Matěj
0533dda0a6 Added support for custom framework root 2019-04-08 15:41:06 +02:00
Steven Roebert
152f34a55e Fixed flattening of relative paths (#525) 2019-04-07 12:36:04 +02:00
Yonas Kolb
ceee0d6115
Merge branch 'master' into fix-generation-order 2019-04-07 13:19:42 +10:00
Yonas Kolb
2fe9b546ce
Merge pull request #555 from yonaskolb/xcode_10.2
Update default settings to Xcode 10.2
2019-04-06 20:46:56 +11:00
yonaskolb
c73bad3312 Fix optional file sources 2019-04-04 23:32:55 +11:00
yonaskolb
a7613064b4 update latest xcode version to 10.2 2019-04-02 22:44:05 +11:00
Yonas Kolb
fde42399de update to xcodeproj 6.6 2019-04-01 20:07:07 +11:00
yonaskolb
bf4a65bbdc Update to 2.4.0 2019-03-31 21:59:39 +11:00
yonaskolb
ad276a8bc8 support Swift 5 2019-03-27 19:00:20 +11:00
Tom Quist
4b8d46429a Fix order of file generation
When the `Info.plist` doesn’t exist in filesystem (e.g. because it’s in `.gitignore`)
xcodegen generates the file but doesn’t add it to the `xcodeproj`. Only when
`xcodegen` is executed a second time it is included.

This changes the order of generation of these files to first generate the
plist and then the project.
2019-03-26 14:04:08 +01:00
yonaskolb
95bc051d26 Update to 2.3.0 2019-03-25 21:11:29 +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
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
Yonas Kolb
2868c32b7b
Merge pull request #532 from dimatosaurus/master
use link property in framework deps
2019-03-22 14:48:21 +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
Dimitri Emmerich
b55223ae7c use link property in framework deps 2019-03-05 22:53:21 +01:00
ainopara
520db0eb08 Make multi platform targets parse deployment target per platform. 2019-03-04 10:24:51 +08:00
Yonas Kolb
c07f016f4d fix error on optional sources 2019-02-27 22:51:12 +11: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
Elliott Williams
34f7d3a716 Remove Path.byRemovingBase(path:) 2019-02-24 16:15:13 -08:00
Elliott Williams
b5dcc9c4c4 Use relativePath(from:) in more places
This uncovered a seeming inconsisteny with how folder reference paths
were specified vs all other paths.
2019-02-24 16:13:49 -08:00
Rogerio de Paula Assis
598a5f75bd Minor refactor for better performance 2019-02-22 22:06:33 -05: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
a03e5a198a Add comments and rename for clarity 2019-02-21 11:46:34 -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
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
064ab39434 make the default build phase for xcfilelist to be nothing 2019-02-02 13:05:36 +11:00
Yonas Kolb
b490851c73 Update to 2.2.0 2019-01-28 22:20:24 +11: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
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
72ae41e94a
Merge pull request #497 from yonaskolb/update_compatability
Update Xcode compatibility version
2019-01-27 19:16:02 +11:00
Kryštof Matěj
ec60901ff7 Fix carhage dependency resolving 2019-01-25 07:40:12 +01: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
Yonas Kolb
93f5492d4c update objectVersion from 46 to 50 2019-01-24 23:34:54 +11:00
Luke Wakeford
df0e396b75 Adding input and output file lists to build script spec 2019-01-23 14:40:45 +00:00
Yonas Kolb
e24fd1b68e update Xcode compatibility version 2019-01-22 15:56:42 +11: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
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
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
Ell Neal
05fa244a89
Add $(CURDIR) helper to expand the base path of the spec file 2019-01-10 11:43:04 +00:00
Yonas Kolb
43db3254d6
Merge pull request #482 from ksulliva/xcodeproj_dependency
Update Linkage to handle additional PBXProductType case from xcodeproj
2019-01-10 20:04:53 +11:00
Daniel Ericsson
40c472112d
Fix writing to a project path 2019-01-09 00:41:28 +01:00
Kevin Sullivan
79caa6920d Merge branch 'master' into xcodeproj_dependency
# Conflicts:
#	CHANGELOG.md
2019-01-08 09:21:31 -06:00
Beniamin Sarkisian
3fec403411 Fixed bugs 2019-01-08 16:55:46 +03:00
Kevin Sullivan
9d3263a377 Update Linkage to handle additional PBXProductType case from xcodeproj 2019-01-07 12:28:43 -06:00
Beniamin Sarkisian
976841ba40 Changed the default value of generateEmptyDirectories option to false 2019-01-07 15:27:17 +03:00
Beniamin Sarkisian
e387ee52a8 Added an abbility to generate empty directories 2019-01-07 13:50:23 +03:00
Yonas Kolb
cf703cd66d Update to 2.1.0 2018-12-18 22:40:57 +11:00
Yonas Kolb
f04c3e0496 format code 2018-12-18 22:37:22 +11:00
Yonas Kolb
c8db304024 update docs 2018-12-18 22:16:45 +11:00
Yonas Kolb
f061c03e6a Merge master into lockfile 2018-12-18 20:54:38 +11:00
Yonas Kolb
f87642c938 get xcodegen working with arguments and without generate for backwards compatability 2018-12-18 20:25:03 +11:00
Brentley Jones
0617337a94 Allow static libraries to see external framework in search paths 2018-12-17 09:37:48 -06:00
Brentley Jones
f3e5aa9083 Treat SDK same as framework for skipping staticLibrary 2018-12-17 09:36:14 -06:00
Yonas Kolb
009a3ec2cb
Merge pull request #452 from yonaskolb/test_host
Generate TEST_HOST
2018-12-16 19:16:28 +11:00
David W. Berry
7e2c870762 Add mlmodel to compiled file extensions (#457) 2018-12-13 13:03:46 -06:00
Yonas Kolb
ed80164a4d fix project not generating if private settings are checked in 2018-12-05 19:36:01 +11:00
Yonas Kolb
c7a1ecd73d generate TEST_HOST for unit tests 2018-12-05 19:13:58 +11:00
Yonas Kolb
12aea54878 generate TestTargetID project attributes for unit tests 2018-12-05 19:13:27 +11:00
Yonas Kolb
c4b9b19a96 add cache-path argument 2018-12-01 18:45:06 +11:00
Yonas Kolb
281a12434d
Merge branch 'master' into fix-issue-440 2018-12-01 18:09:30 +11:00