Support indentation options from xcproj (#190)

This commit is contained in:
Brandon Kase
2017-12-18 13:28:33 -08:00
committed by Rahul Malik
parent 69b1368013
commit 4c96dbb323
5 changed files with 20 additions and 2 deletions
+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)