Files
SwiftShell/SwiftShellTests/Scripts/print_linenumbers.swift
T
Kare Morstol 55c96103ac Added scripts folder for testing entire scripts.
Added one test script and a unit test file for running them.
Disabled deployment of framework on release build because it gets removed again as soon as I do a clean build.
2014-08-25 22:09:24 +02:00

10 lines
108 B
Swift

import SwiftShell
var i = 1
for line in standardinput.lines() {
print("line \(i++): ")
println(line)
}