Support indentation options from xcproj (#190)

This commit is contained in:
Brandon Kase authored and Rahul Malik committed 2017-12-18 13:28:33 -08:00
1 parent 69b1368013
commit 4c96dbb323
5 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ public class PBXProjGenerator {
topLevelGroups.insert(rootGroup)
}
let mainGroup = PBXGroup(reference: referenceGenerator.generate(PBXGroup.self, "Project"), children: Array(topLevelGroups), sourceTree: .group)
let mainGroup = PBXGroup(reference: referenceGenerator.generate(PBXGroup.self, "Project"), children: Array(topLevelGroups), sourceTree: .group, usesTabs: spec.options.usesTabs.map{ $0 ? 1 : 0 }, indentWidth: spec.options.indentWidth, tabWidth: spec.options.tabWidth)
addObject(mainGroup)
sortGroups(group: mainGroup)