mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
Support indentation options from xcproj (#190)
This commit is contained in:
1 parent
69b1368013
commit
4c96dbb323
5 files changed
+20
-2
No files matched your search
@@ -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