The “Scripts” folder is temporarily moved out of "Tests" because it doesn't work with the Swift Package Manager.
7 lines
185 B
Swift
Executable File
7 lines
185 B
Swift
Executable File
#!/usr/bin/env swiftshell
|
|
|
|
import SwiftShell
|
|
import Foundation
|
|
|
|
print(NSURL(fileURLWithPath: main.path).lastPathComponent!, main.arguments.map {"\""+($0)+"\""} .joined(separator:" "))
|