Commit Graph

258 Commits

Author SHA1 Message Date
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
Yonas Kolb 57ca558d1a don't generate empty build phases 2017-11-12 22:17:08 +01:00
Yonas Kolb ff3bfd6955 add support for linking directly to bundle or any directory with extension 2017-11-12 21:15:07 +01:00
Yonas Kolb bf6d8aa464 fix cyclical target dependencies 2017-11-12 20:43:07 +01:00
Yonas Kolb 63c2d08977 add TargetSource.name for renaming sources (#146) 2017-11-12 20:26:36 +01:00
Yonas Kolb 354407b165 make variant groups have same sort order as file references 2017-11-12 18:55:45 +01:00
Yonas Kolb a2c41917e5 Fix groups (#144)
* failing createIntermediateDirectories test

* refactor sources

* add reference generator tests
2017-11-12 18:52:11 +01:00
Peyman Khanjan 91729a9694 Add support for simple files excludes from sources #5. (#135)
* Add support for simple files excludes from sources #5.

* Add pattern matching for Source excludes #5.

* Simplify getting Source.excludes from jsonDictionary.

* Remove recursive pattern matching and formatting.
2017-11-11 00:22:07 +01:00
Yonas Kolb 94a449c647 Merge pull request #139 from bkase/xcassets-as-files
Support paths directly to xcassets
2017-11-10 23:31:53 +01:00
Yonas Kolb 7cdc496f45 test refactoring 2017-11-10 23:28:16 +01:00
Brandon Kase a27a25e76f Fix duplicate sources in groups, fixes #141 2017-11-09 15:05:56 -08:00
Brandon Kase 496a7cc4b0 Support paths directly to xcassets
Pretend xcassets are files to allow top-level xcassets in the spec.
2017-11-08 11:10:21 -08:00
Brandon Kase fb11b06744 Support assembly files in sources 2017-11-07 13:36:18 -08:00
Yonas Kolb b120c9da37 fix Swift 4.0.3 warnings 2017-11-04 16:01:44 +01:00
Brandon Kase 8c3821b6c8 Filegroups that subsume sources work again
Fixes #130

Plus there's something in the Fixture to catch this sorts of
regression in the future.
2017-11-03 22:10:52 -07:00
Yonas Kolb 68b4214c24 json loading refactoring
- don't convert to string and back
2017-11-04 02:05:39 +01:00
rmalik 91056efc8a Load json files directly with NSJSONSerialization if the spec path extension is
`json`
2017-11-03 12:10:00 -07:00
Yonas Kolb b9163a0b31 sort group children 2017-11-03 15:07:28 +01:00
Yonas Kolb e05ed6a0b9 sort build phase files 2017-11-03 15:04:10 +01:00
Yonas Kolb a092dafec1 extract and cache XCConfig loading 2017-11-03 14:58:05 +01:00
Yonas Kolb 050ce8630d refactor config file setting removing 2017-11-03 14:42:51 +01:00
toshi0383 4204c65ee7 Merge remote-tracking branch 'upstream/master' into ts-no-overwriting-xcconfig-value 2017-11-03 22:00:44 +09:00