Dave Lee and GitHub
bcdd733f21
Fix handling of scheme target build type
2018-01-25 11:50:03 -08:00
Yonas Kolb
228aa18f42
Define lastKnownFileType for PBXFileReference explicitly
2018-01-21 23:06:34 +10:30
Yonas Kolb
fbfc138fc3
generate target FileReference lastKnownFileType
2018-01-21 22:42:26 +10:30
Yonas Kolb
a7380e106d
generate target product name for file reference path
2018-01-21 22:41:23 +10:30
Yonas Kolb
e66c0e1c66
generate lastKnownFileType
2018-01-21 22:02:40 +10:30
Yonas Kolb
baa6133695
don't generate FileElement name if it's the same as path
2018-01-21 22:02:29 +10:30
Yonas Kolb and GitHub
a9c56960fb
Merge pull request #221 from anreitersimon/feature/target-attributes
...
Generate UI Test Target Attributes
2018-01-10 12:44:08 +08:00
SMN
79e79cbd55
do not generate target attributes if empty
2018-01-05 20:54:01 +01: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
SMN
5ddf622873
generates target references
2018-01-05 03:02:47 +01:00
Alvar Hansen
fc9bb5f4e0
Filter out duplicate file references from sources build phase
2018-01-03 13:08:04 +02:00
Yonas Kolb
64d635096b
code formater
2017-12-27 19:32:25 +08:00
Yonas Kolb
57e9a1de41
remove wrapping of function declarations
2017-12-27 19:03:22 +08:00
Yonas Kolb
bebae07fcf
Update to 1.5.0
2017-12-27 17:51:22 +08:00
Yonas Kolb
2315dc89b2
fix Target reference generation
2017-12-27 17:41:06 +08:00
Yonas Kolb and GitHub
f2f1a00ea7
Merge pull request #211 from yonaskolb/project_path_default
...
Make the spec directory the default for --project argument
2017-12-27 17:01:29 +08:00
Yonas Kolb and GitHub
20b1a28b68
Merge pull request #213 from yonaskolb/write_product_name
...
Write target product name
2017-12-27 16:49:08 +08:00
Yonas Kolb
99a1313064
write target product name
2017-12-27 16:41:50 +08:00
Yonas Kolb
b6e68a4c50
make file reference caching case insensitive
2017-12-27 15:37:18 +08:00
Yonas Kolb
f5fa6a50c1
made the default for --project argument the spec directory
2017-12-27 15:30:16 +08:00
Yonas Kolb
ab644cb763
fixed how file reference names are set
2017-12-27 00:26:50 +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
Yonas Kolb
e75b1c1e89
format code
2017-12-26 17:56:02 +08:00
Yonas Kolb and GitHub
554a9d2524
Merge pull request #205 from yonaskolb/platform_version
...
Add deployment target
2017-12-26 17:55:14 +08:00
Yonas Kolb
e3a6739b2a
rename deploymentTargets to deploymentTarget
2017-12-26 17:48:01 +08:00
Yonas Kolb
cd6d179325
rename platformVersion to deploymentTarget
2017-12-26 17:36:41 +08:00
Yonas Kolb
4a90d33951
Add Version type
2017-12-26 17:36:41 +08:00
Yonas Kolb
f0486c644e
add options.platformVersions and target.platformVersion
2017-12-26 17:36:22 +08:00
Yonas Kolb and GitHub
d4fc0916a2
Merge pull request #203 from yonaskolb/scheme_build_types
...
Change Scheme.Build.targets spec
2017-12-26 16:40:11 +08:00
Yonas Kolb
cb3ffc3d2b
change Scheme.Build.targets spec
2017-12-22 18:59:23 +08:00
Yonas Kolb
cf6df044cf
add TargetSource.buildPhase for overriding build phase
2017-12-22 18:57:15 +08:00
Yonas Kolb
7c7bbce783
refactor TargetScheme -> Scheme initialization
2017-12-21 19:02:29 +08:00
Yonas Kolb
e7b9d99b4c
allow scheme build target build types to be defined with an array
2017-12-21 18:26:19 +08:00
Yonas Kolb and GitHub
375d322b3f
Merge pull request #200 from allu22/optional-file
...
Allow missing files in sources
2017-12-21 17:38:23 +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
Valerii Hiora
9bcd1db486
Missed one more testables occurence
2017-12-21 10:58:37 +02:00
Valerii Hiora
5a3e37218d
Added support for testables in Scheme
...
Fixes #193
This addresses the issue that it was impossible to test targets if
custom scheme was used by providing array of testables to `Test` action.
Now it should be possible using the following syntax:
```yaml
STCore:
build:
targets:
- target: STCore
buildTypes: all
test:
testables: [STCoreTests]
config: Staging-Debug
```
Note that original example in #193 has to be modified for this change
as it causes a confusion in Xcode: if we have 2 targets `STCore` and
`STCoreTests`, if `STCoreTests` is also added as testable Xcode
duplicates test target in build actions (i.e. `STCore`, `STCoreTests`,
`STCoreTests` are shown).
2017-12-21 10:50:47 +02:00
Yonas Kolb and GitHub
8864e4b1b6
Merge pull request #199 from vhbit/overwrite-cmdargs
...
Fixed test/profile command line args not being passed
2017-12-21 16:35:57 +08:00
Valerii Hiora
89061e316d
Fixed test/profile command line args not being passed
...
It's not enough just set command line arguments - there is a separate
flag in scheme, which allows them to overwrite default launch arguments.
Now that flag is automatically set if there are any args provided.
Fixes #198
2017-12-21 10:25:08 +02:00
Yonas Kolb and GitHub
bd635dc1ef
Merge pull request #194 from kastiglione/lazy-plist-scan
...
Scan for Info.plist lazily
2017-12-21 15:10:27 +08:00
Dave Lee
f96252ace6
Use spec property directly
2017-12-20 09:04:23 -08:00
Yonas Kolb
d7cb06b7b0
update xcode version
2017-12-20 23:14:06 +08:00
Yonas Kolb
5a30baf77e
add xcodeVersion option
2017-12-20 23:13:31 +08:00
Dave Lee
b48c2bac77
Scan for Info.plist lazily
2017-12-19 22:17:32 -08:00
Brandon Kase and Rahul Malik
4c96dbb323
Support indentation options from xcproj ( #190 )
2017-12-18 13:28:33 -08:00
Brandon Kase and Rahul Malik
69b1368013
Support Legacy Targets ( #175 )
...
XcodeGen now supports "External Build Tool" target type (internally called
PBXLegacyTarget in Xcode). This is implied when the target provides a
`LegacyTarget` field in its spec.
PBXLegacyTargets are just like normal targets but the `isa` is different
and they have a notion of a buildTool. Most of the target logic doesn't
have to change.
2017-12-18 13:26:49 -08:00
Yonas Kolb
d6b3a63d8f
update command, pathkit and spectre
2017-12-17 05:11:03 +08:00
Yonas Kolb and GitHub
76cfab46b7
Merge pull request #184 from kastiglione/patch-1
...
Transform input spec path to absolute path
2017-12-07 21:29:54 +01:00
Dave Lee
926fbd5882
Use absolute()
2017-12-07 11:05:31 -08:00