Commit Graph

6 Commits

Author SHA1 Message Date
Kare Morstol 4d2fca7b74 Add operator |>> for printing anything to a writable stream.
Replaced all uses of writeTo with the new operator in unit tests, test scripts and readme.
2014-12-04 20:05:15 +01:00
Kare Morstol a2985b049d Add shell unit tests and update test scripts.
Run SwiftShellTests/Scripts/runtests.bash to perform all unit tests.
2014-11-26 20:58:22 +01:00
Kare Morstol 65625bbc75 Remove "listallexecutablesinpath.swift" and turn it into a Gist. List it as an example in the README.
It was way too wordy to use as a test.
2014-11-26 00:00:15 +01:00
Kare Morstol 977888c03b Rename "write" functions to "writeTo".
Because it makes more sense.
2014-10-25 19:17:07 +02:00
Kare Morstol 9136d17843 Use "|> write(standardoutput)" instead of " |> standardoutput". And support writing of sequences of strings.
Avoids the special case of "|> WriteableStreamType".
2014-10-15 23:03:42 +02:00
Kare Morstol 84b1d5624d Add test script callswiftscriptfromswift.swift. 2014-09-11 20:37:44 +02:00