Skip to content

Commit

Permalink
update vapor script
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Mar 23, 2016
1 parent 619035f commit b04e2d5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vapor
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ let build: Void -> Bool = {
let cc = "xcrun swiftc"
#endif

return system("\(cc) App/main.swift App/**/*.swift -I /usr/local/opt/vapor/include/ -L /usr/local/opt/vapor/lib/ -lVapor -lJay -lHummingbird -llibc -lStrand -o .build/VaporApp") == 0
if (system("\(cc) App/main.swift App/**/*.swift -I /usr/local/opt/vapor/include/ -L /usr/local/opt/vapor/lib/ -lVapor -lJay -lHummingbird -llibc -lStrand -o .build/VaporApp") == 0) {
print("Built: .build/VaporApp")
return true
} else {
return false
}
}

let run: Void -> Bool = {
Expand Down

0 comments on commit b04e2d5

Please sign in to comment.