Skip to content

Commit 5b7f71f

Browse files
authored
move global funcitons to a namespace (#4174)
motivation: name-spaced code is good code changes: move global functions in the XcodeProject module to a namespace
1 parent 1212f9b commit 5b7f71f

File tree

3 files changed

+263
-261
lines changed

3 files changed

+263
-261
lines changed

Sources/Commands/SwiftPackageTool.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,12 +1555,12 @@ extension SwiftPackageTool {
15551555
dstdir = try swiftTool.getPackageRoot()
15561556
projectName = graph.rootPackages[0].manifest.displayName // TODO: use identity instead?
15571557
}
1558-
let xcodeprojPath = Xcodeproj.buildXcodeprojPath(outputDir: dstdir, projectName: projectName)
1558+
let xcodeprojPath = XcodeProject.makePath(outputDir: dstdir, projectName: projectName)
15591559

15601560
var genOptions = xcodeprojOptions()
15611561
genOptions.manifestLoader = try swiftTool.getManifestLoader()
15621562

1563-
try Xcodeproj.generate(
1563+
try XcodeProject.generate(
15641564
projectName: projectName,
15651565
xcodeprojPath: xcodeprojPath,
15661566
graph: graph,

0 commit comments

Comments
 (0)