mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Support indentation options from xcproj (#190)
This commit is contained in:
committed by
Rahul Malik
parent
69b1368013
commit
4c96dbb323
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user