Stefano Mondino
dfe7f28bcb
Scheme config variants wrong assignment for similar config names ( #976 )
...
* Failing test for #975
* fixes #975
* chore: refactor to properly select a config from a collection with specific variant and config type
chore: updated changelog
* fix: lowercase compare on config variant names
* fix CI
* fix missing scheme for CI
* fix schemes for CI
* Update CHANGELOG.md
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
* Update Sources/ProjectSpec/Config.swift
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
* - fix compilation issue
- duplicated test for config variant name (uppercase/lowercase)
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2021-05-01 15:50:39 +10:00
Josh Walker
1e7c1c2da0
throw SpecValidationError for minimumXcodeGenVers ( #967 )
...
* throw SpecValidationError for minimumXcodeGenVers
* update changelog
# Conflicts:
# CHANGELOG.md
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-11-13 08:30:35 +11:00
Yonas Kolb
7da953a488
swift format
2020-06-17 18:12:34 +10:00
freddi
550df76722
Make SwiftPackage itself as enum
2020-03-19 23:29:46 +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
19853921df
Added validation of local package
2020-03-05 21:30:40 +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
Yuta Saito
8fe5c0cd16
Validate project reference path
2020-01-06 20:51:58 +09:00
yonaskolb
203d96e343
fix some build errors
2019-10-30 11:40:55 +11:00
Yuta Saito
c4305dd02e
Add validation for project reference
2019-10-27 09:00:21 +09:00
Yuta Saito
b96d077252
Merge branch 'master' into external-target-ref
2019-09-30 17:09:04 +09:00
yonaskolb
e9193cfb29
add support for localPackages
2019-09-27 21:36:07 +10:00
yonaskolb
fe693c7160
add package validation
2019-09-27 17:10:55 +10:00
Yuta Saito
30fc642b04
Introduce ProjectName/Target syntax to reference target
2019-09-23 00:23:11 +09:00
Yuta Saito
599a2c8ead
Add test case for scheme generation
2019-09-14 18:43:59 +09:00
Yuta Saito
900e3a1934
Allow dylib extension for SDK linkage
2019-09-09 11:42:24 +09: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
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
1631236b7a
format_code
2018-11-04 22:30:34 +11:00
Yonas Kolb
7e92db5346
add sdk dependency type
2018-11-04 21:38:07 +11:00
Yonas Kolb
e8feba21ef
add TestTarget with parallelizable and randomExecutionOrder
2018-11-03 19:04:28 +11:00
Yonas Kolb
3eaed1ec7c
validate incorrect config settings definitions
2018-11-02 18:50:13 +11:00
Vlad Gorloff
eba2e3ab86
Fix for issue https://github.com/yonaskolb/XcodeGen/issues/392 .
2018-09-11 16:57:23 +02:00
Yonas Kolb
a1418fe4dd
allow aggregateTargets to be dependencies
2018-08-19 13:47:27 +10:00
Brentley Jones
96ac557b96
Refactor minimumXcodeGenVersion to be less pervasive
2018-08-02 07:19:37 -05:00
Brentley Jones
76192fb944
Add minimumXcodeGenVersion option
...
If XcodeGen's version is less than this version validation will fail.
2018-08-02 07:19:37 -05:00
Yonas Kolb
884490f955
add attributes to AggregateTarget
2018-07-24 22:05:29 +10:00
Yonas Kolb
3b17164bbf
add aggregate targets
2018-07-24 22:05:29 +10:00
Yonas Kolb
e589364ae8
rename ProjectSpec to Project and Project.Options to SpecOptions
2018-04-12 23:13:12 +10:00
Keith Smiley
6f95e57f45
Rename to defaultConfig
2018-03-19 15:18:46 -07:00
Keith Smiley
e636664aaa
Add defaultConfigurationName to options
...
This allows users to set the defaultConfigurationName project wide. This
setting corresponds to the drop down in the project settings that says
"Use CONFIG for command line builds". This affects which configuration
Xcode looks in for some settings, even if you pass `-configuration FOO`.
2018-03-19 13:47:02 -07:00
Dave Lee
dc1356a474
Make scheme action config optional
2018-02-02 12:59:05 -08:00
Keith Smiley
b6ef82b3df
Add new option for disabling validations
...
This gives us an entry point for disabling specific project.yml
validations that sometimes shouldn't apply. The first example is
missingConfigs, which, if you use your .yml file in multiple projects,
can be too strict if the projects have different top level
configurations.
2018-01-05 11:41:33 -08:00
Yonas Kolb
0bc2f3415e
minor
2017-12-26 22:46:36 +08:00
Yonas Kolb
75e0644b99
wrap long lines
2017-12-26 18:47:18 +08:00
Alvar Hansen
24c8668eb7
Allow missing files in sources
...
Adds `optional` flag to `TargetSource` to allow files that do not exist yet.
This is useful in cases where build script will generate files.
2017-12-21 11:33:04 +02:00
Yonas Kolb
0c1325cc5f
remove header comments
2017-11-22 13:01:17 +01:00
Yonas Kolb
698d8d85b4
change target source from String to Source struct
2017-10-31 17:22:14 +01:00
Yonas Kolb
92c2e5c5b5
run format-code.sh
2017-10-29 22:27:05 +01:00
Yonas Kolb
f8b4b5792e
move and rename files
2017-10-29 22:15:02 +01:00