Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnam committed Jun 8, 2018
2 parents 8ea8865 + 00af0c8 commit bcf97a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Scripts/SyncVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ versionSwift.enumerateLines { line, _ in
lines.append(line)
}
lines.removeLast()
lines.append("let version = \"\(version)\"")
lines.append("let version = \"\(version)\"\n")
let newFileContent = lines.joined(separator: "\n")

try! newFileContent.write(toFile: pathToVersionSwift, atomically: true, encoding: .utf8)
4 changes: 2 additions & 2 deletions Sources/Flint/spark/sparkCommandHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ let sparkCommandHandler: CommandHandler = { _, _, operandValues, optionValues in
for prehook in template.manifest.prehooks ?? [] {
let scriptPath = template.prehookScriptsPath[prehook]
if scriptPath.exists {
let work = Work(command: "sh \(scriptPath.path)",
let work = Work(command: "sh \"\(scriptPath.path)\"",
standardOutputHandler: { standardOutput in
print(standardOutput)
}, standardErrorHandler: { standardError in
Expand Down Expand Up @@ -239,7 +239,7 @@ let sparkCommandHandler: CommandHandler = { _, _, operandValues, optionValues in
for posthook in template.manifest.posthooks ?? [] {
let scriptPath = template.posthookScriptsPath[posthook]
if scriptPath.exists {
let work = Work(command: "sh \(scriptPath.path)",
let work = Work(command: "sh \"\(scriptPath.path)\"",
standardOutputHandler: { standardOutput in
print(standardOutput)
}, standardErrorHandler: { standardError in
Expand Down
2 changes: 1 addition & 1 deletion Sources/Flint/version/version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

import Foundation

let version = "0.1.1"
let version = "0.1.2"
2 changes: 1 addition & 1 deletion Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.2

0 comments on commit bcf97a9

Please sign in to comment.