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
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
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
4c96dbb323
Support indentation options from xcproj ( #190 )
2017-12-18 13:28:33 -08:00
Brandon Kase
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
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
Alvar Hansen
5bd8e9f47c
Remove unnecessary quote escaping.
2017-12-07 16:53:47 +02:00
Dave Lee
0e4118ee8a
Transform input spec path to absolute path
...
Fixes #183
2017-12-05 18:35:06 -08:00
Yonas Kolb
9676d1340b
update to xcproj 1.6.0
2017-12-05 20:57:31 +01:00
Yonas Kolb
3fd2effb5d
Merge pull request #174 from kastiglione/dash-v
...
Print version with -v too
2017-12-01 22:34:38 +01:00
Rahul Malik
8a46cde0b1
Add commandlineArguments to XcodeGenKit Scheme specifications ( #172 )
...
* Add commandlineArguments to XcodeGenKit Scheme specifications
* Update xcproj reference, format code, cleanup usage of
commandlineArguments in ProjectGenerator
* Update docs, CHANGELOG and equality checks in Scheme.swift
* Doc update
* Update fixture tests to have command line arguments. Fix remaining issue
with Scheme creation through "Test Scheme"
2017-11-28 11:02:59 -08:00
Dave Lee
bc43528b1c
Print version with -v too
2017-11-27 13:16:20 -08:00
Alex Rupérez
c59c6a02db
Added support for codeCoverageEnabled flag in target schemes. ( #170 )
...
* Resolves #169 , added support for codeCoverageEnabled flag in target schemes.
* #170 @yonaskolb code review fix and docs update.
* More #170 @yonaskolb code review fix.
* Using gatherCoverageData instead of codeCoverageEnabled naming, thanks @kastiglione.
* Now using xcproj 1.5.0
* Another #170 @yonaskolb code review fix.
2017-11-24 11:45:56 +01:00
Yonas Kolb
8da828a029
minor logging change
2017-11-23 20:32:48 +01:00
Yonas Kolb
cbec3ad732
add fatalError helper function
2017-11-23 19:16:38 +01:00
Yonas Kolb
0c5bdfbdbe
added some pre writing logging, to highlight what is happening
2017-11-23 19:13:16 +01:00
Sam Soffes
198195cee9
Remove docstrings
2017-11-22 15:04:30 -08:00
Sam Soffes
e2cb20c885
Add quiet option
2017-11-22 10:00:13 -08:00
Yonas Kolb
0c1325cc5f
remove header comments
2017-11-22 13:01:17 +01:00
Yonas Kolb
b7dc0ab574
remove now un-needed PBXProj from SourceGenerator
2017-11-22 12:48:44 +01:00
Cameron Mc Gorian
f143b907f8
Review feedback
2017-11-21 13:51:04 +01:00
Cameron Mc Gorian
99f8bafccf
Update init method
2017-11-21 11:14:58 +01:00
Cameron Mc Gorian
5eb9468e97
Add implicit type to Dependency
2017-11-21 07:50:46 +01:00
Yonas Kolb
885a4fe321
Merge pull request #158 from bkase/fast-xcproj
...
Updates for xcproj updates to PBXProj
2017-11-20 11:48:45 +01:00
Peyman Khanjan
b73aca231a
Fix TargetSource excludes tests.
2017-11-19 15:20:45 +00:00
Rahul Malik
6e43295259
Use official xcproj release, address comments
2017-11-18 10:39:08 -08:00
rmalik
f2c4ebabfd
Update XcodeGen for latest performance fixes in xcproj
2017-11-16 15:37:53 -08:00
Yonas Kolb
8b0cc83416
add linking to Dependency init
2017-11-17 00:37:36 +01:00
Yonas Kolb
0004cdd333
Update to 1.4.0
2017-11-16 11:49:30 +01:00
Yonas Kolb
3d79ae4359
sort knownRegions
2017-11-15 22:23:17 +01:00
Yonas Kolb
ca55fd20c3
Merge pull request #157 from ryohey/fix-base-locaization
...
Add support for generating variant groups without Base.lproj
2017-11-15 22:11:02 +01:00
Yonas Kolb
2710cb9fb9
add function for printing the layout of a projects's groups
2017-11-15 17:47:04 +01:00
ryohey
e59c57e019
Use found localised directories to generate knownRegions
2017-11-16 01:45:28 +09:00
ryohey
86b1bec35e
Add support for creating variant groups with developmentLanguage
2017-11-16 01:45:28 +09:00
ryohey
3fb7a15c74
Fix option parsing
2017-11-16 01:45:28 +09:00
Yonas Kolb
b2a2a01da7
fix #87
2017-11-15 16:59:29 +01:00
Yonas Kolb
9f41d2671a
fix source generation in root directory
2017-11-15 14:51:20 +01:00
Yonas Kolb
cf426ba5eb
add ProjectSpec.options.developmentLanguage
2017-11-15 12:13:32 +01:00
Yonas Kolb
034eb4a448
tweaked format of generated references
...
- more characters
- underscore after type name
- remove duplication count unless greater than 1
2017-11-15 11:29:10 +01:00
Yonas Kolb
5a74572e10
make references more deterministic
2017-11-15 11:27:45 +01:00
Yonas Kolb
ce0f3b5665
add folder reference support
2017-11-15 01:22:02 +01:00
Yonas Kolb
e8188ad9f8
swiftformat
2017-11-13 21:33:59 +01:00
Yonas Kolb
1df7a3cea4
minor refactoring
2017-11-13 00:15:07 +01:00