25 Commits

Author SHA1 Message Date
Khaos Tian 37e1f72531 Treat all directories with known UTI as file wrapper (#896)
* Only allow folder with unknown UTI

* Update fixture

* Use fileGroups instead of fixtures.

* Change log

* Add to the right place

* Rename title
2020-06-25 18:39:04 +10:00
Khaos Tian 474d8f6907 Bugfix: Ensure folder and wrapper directories are correctly set on generated project (#862)
Check for UTI type instead of hardcoded extensions.
2020-05-18 12:21:34 -05:00
yonaskolb c55af41047 update PBXFileElement sort methods 2020-02-02 09:54:59 +11:00
Christopher Rogers 5966e294e7 Stabilize sorting of groups with duplicate names/paths (#671)
* Stabilize sorting of groups with duplicate names/paths

For example, previously a group with (name: nil, path: "Sources") would be considered equal to (name: "Sources", path: "../Sources"), even though they are distinct groups.

* Remove Comparable conformance from PBXFileElement

...as it isn't compatible with its Equatable conformance.

Renamed localizedStandardCompare to reflect the fact that PBXFileElement no longer has an inherent order.

* Update changelog
2020-02-02 09:46:17 +11:00
yonaskolb 66ba10c3c6 print group hierarchy on source generator test failure 2019-11-20 22:18:32 +11:00
Yonas Kolb 32bd7ed568 Update to XcodeProj 7.4 (#715)
Update to XcodeProj 7.4
2019-11-10 12:54:03 +11:00
yonaskolb eda9a5fba2 remove customized file types 2019-11-10 12:42:58 +11:00
yonaskolb 0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +11:00
yonaskolb d0d509c1a5 swiftformat 2019-10-27 22:37:41 +11:00
yonaskolb b03f682418 add some more lastKnownFileType that Xcode generates 2019-09-28 14:48:36 +10:00
yonaskolb d921d14259 make format_code 2019-09-01 22:02:53 +10:00
yonaskolb 745be5fc1d update import name 2019-06-26 16:49:10 +10:00
Yonas Kolb 1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb 84f1c65632 update to xcodeproj 6 2018-09-25 23:38:38 +10:00
Yonas Kolb e97b002655 upgrade to xcodeproj 5 2018-09-25 21:08:11 +10:00
Yonas Kolb f51280485d added options.groupSortPosition 2018-07-24 22:59:24 +10:00
Yonas Kolb 91d2177f84 sort groups under files 2018-07-24 22:45:52 +10:00
Yonas Kolb 0c39b28c08 upgrade to xcproj 4.2.0 2018-03-21 11:02:45 +11:00
Yonas Kolb 75e0644b99 wrap long lines 2017-12-26 18:47:18 +08:00
Yonas Kolb 9676d1340b update to xcproj 1.6.0 2017-12-05 20:57:31 +01:00
Yonas Kolb 0c1325cc5f remove header comments 2017-11-22 13:01:17 +01:00
rmalik f2c4ebabfd Update XcodeGen for latest performance fixes in xcproj 2017-11-16 15:37:53 -08:00
Yonas Kolb 2710cb9fb9 add function for printing the layout of a projects's groups 2017-11-15 17:47:04 +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