Skip to content

Commit

Permalink
Source updates for ReleaseTooling rename (#6773)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Oct 19, 2020
1 parent ea6b718 commit 63075e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ReleaseTooling/Sources/ZipBuilder/FirebaseBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct FirebaseBuilder {
guard let repoDir = args.repoDir else {
fatalError("repoDir option must be specified when building Carthage")
}
let carthageJSONDir = repoDir.appendingPathComponents(["ZipBuilder", "CarthageJSON"])
let carthageJSONDir = repoDir.appendingPathComponents(["ReleaseTooling", "CarthageJSON"])
carthageRoot = CarthageUtils.packageCarthageRelease(templateDir: args.templateDir,
carthageJSONDir: carthageJSONDir,
artifacts: artifacts,
Expand Down
4 changes: 2 additions & 2 deletions ReleaseTooling/Sources/ZipBuilder/LaunchArgs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ struct LaunchArgs {
// Get the project template directory, and fail if it doesn't exist.
var templatePath = defaults.string(forKey: Key.templateDir.rawValue)
if templatePath == nil, let repoDir = repoDir {
templatePath = repoDir.path + "/ZipBuilder/Template"
templatePath = repoDir.path + "/ReleaseTooling/Template"
}
if templatePath == nil {
LaunchArgs.exitWithUsageAndLog("Missing required key: `\(Key.templateDir)` for the folder " +
Expand Down Expand Up @@ -332,7 +332,7 @@ struct LaunchArgs {
print(errorText)

// Loop over all the possible keys and print their description.
print("Usage: `swift run ZipBuilder [ARGS]` where args are:")
print("Usage: `swift run zip-builder [ARGS]` where args are:")
for option in Key.allCases {
print("""
-\(option.rawValue) <VALUE>
Expand Down

0 comments on commit 63075e9

Please sign in to comment.