Files
SwiftShell/Scripts/exitswhenopeningnon-existentfile.swift
T
Kare Morstol 04759e9245 Reorganise to use "swift test". Replace Xcode project with one auto-generated by swiftpm.
The “Scripts” folder is temporarily moved out of "Tests" because it doesn't work with the Swift Package Manager.
2016-06-06 01:48:36 +02:00

7 lines
156 B
Swift
Executable File

#!/usr/bin/env swiftshell
import SwiftShell
try! runAndPrint("/bin/cat", "file which does not exist")
print("this is not printed, the script has exited")