1587679b0b
Simplify writing to streams by using "toString".
Kare Morstol2014-10-23 02:20:32 +02:00
6d588bfe29
Add "parameters" function for turning a sequence into valid parameters for a shell command, properly quoted.
Kare Morstol2014-10-23 01:41:53 +02:00
991da5fd39
Add “array” function for turning a sequence into an array, used after the |> operator.
Kare Morstol2014-10-23 00:14:10 +02:00
838b5ee617
Make “Debug” the default command line configuration.
Kare Morstol2014-10-22 22:12:28 +02:00
7328c7c32e
Note how release builds from 6.1 GM 2 still crash when using streams.
Kare Morstol2014-10-15 23:45:39 +02:00
9136d17843
Use "|> write(standardoutput)" instead of " |> standardoutput". And support writing of sequences of strings.
Kare Morstol2014-10-15 23:03:42 +02:00
d09aa63f3e
Add test testChainWithSequenceOfStreamsPrintedToStream.
Kare Morstol2014-10-13 22:00:53 +02:00
a144bc2650
Fix small typo and excessive whitespace.
Kare Morstol2014-10-09 18:36:28 +02:00
96ab5a2070
Enable "func run (shellcommand: String) -> ReadableStreamType" to also be run by itself on a single line.
Kare Morstol2014-09-02 15:23:22 +02:00
a31f018c6b
Added access to environment variables, and new test script listallexecutablesinpath.
Kare Morstol2014-08-28 03:15:07 +02:00
6350fda52a
Something like 'run("ls") |> standardoutput' now works
Kare Morstol2014-08-28 02:17:27 +02:00
bd99bd1cf5
swiftshell.bash now handles script paths containing spaces.
Kare Morstol2014-08-28 01:57:13 +02:00
cecf62fdda
Make sure a command is finished before the next begins.
Kare Morstol2014-08-28 00:33:06 +02:00
cf31b577bb
Running "xcodebuild install" installs the framework to ~/Library/Frameworks, and doing a clean build no longer removes it.
Kare Morstol2014-08-28 00:24:02 +02:00
85579f6b37
Print one stream to another: readablestream |> writablestream
Kare Morstol2014-08-28 00:21:13 +02:00
5aad0cc3e4
"open" now writes to standardError and quits when opening a file fails.
Kare Morstol2014-08-28 00:12:01 +02:00
1e31759b09
Scripts_Tests is under construction in a different branch
Kare Morstol2014-08-26 22:34:08 +02:00
d39a3c8d58
Making this executable is probably a good idea.
Kare Morstol2014-08-26 00:19:19 +02:00
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.
Kare Morstol2014-08-25 22:09:24 +02:00
a135dd0a5d
Added swiftshell.bash to actually run the Swift script files
Kare Morstol2014-08-25 22:03:08 +02:00
ed34a689ec
ReadableStreamType inherits from Streamable. Also tried out and commented stuff that does not work in beta 6.
Kare Morstol2014-08-23 21:02:08 +02:00
e63494b68b
Added new test file for Stream_Iteration_SpeedTests. Cleaned up.
Kare Morstol2014-08-22 21:56:24 +02:00
3e35e0db13
Changed from XCTAssert to XCTAssertEqual, since that works now. Removed tests for strange apparently local bug.
Kare Morstol2014-08-22 02:18:43 +02:00
660b2f9d00
Radically simplified stream(String) and stream(array/sequence).
Kare Morstol2014-08-22 01:46:27 +02:00
30c1412d32
Apparently this file makes Xcode think this is a bilingual framework, and we don't want that.
Kare Morstol2014-08-21 23:40:14 +02:00