Commit Graph

22 Commits

Author SHA1 Message Date
Kare Morstol cf31b577bb Running "xcodebuild install" installs the framework to ~/Library/Frameworks, and doing a clean build no longer removes it. 2014-08-28 00:24:02 +02:00
Kare Morstol 85579f6b37 Print one stream to another: readablestream |> writablestream 2014-08-28 00:21:13 +02:00
Kare Morstol 5aad0cc3e4 "open" now writes to standardError and quits when opening a file fails.
Using assert here was a really bad idea since it may not be evaluated in a release build.
2014-08-28 00:12:01 +02:00
Kare Morstol 1e31759b09 Scripts_Tests is under construction in a different branch 2014-08-26 22:34:08 +02:00
Kare Morstol 4fed65c1ab Added Eclipse license. 2014-08-26 22:25:39 +02:00
Kare Morstol 10f623d4c8 Added documentation. Light cleanup. 2014-08-26 00:24:26 +02:00
Kare Morstol d39a3c8d58 Making this executable is probably a good idea. 2014-08-26 00:19:19 +02:00
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
Kare Morstol a135dd0a5d Added swiftshell.bash to actually run the Swift script files 2014-08-25 22:03:08 +02:00
Kare Morstol ed34a689ec ReadableStreamType inherits from Streamable.
Also tried out and commented stuff that does not work in beta 6.
2014-08-23 21:02:08 +02:00
Kare Morstol e63494b68b Added new test file for Stream_Iteration_SpeedTests. Cleaned up. 2014-08-22 21:56:24 +02:00
Kare Morstol 3e35e0db13 Changed from XCTAssert to XCTAssertEqual, since that works now.
Removed tests for strange apparently local bug.
2014-08-22 02:18:43 +02:00
Kare Morstol 660b2f9d00 Radically simplified stream(String) and stream(array/sequence). 2014-08-22 01:46:27 +02:00
Kare Morstol 30c1412d32 Apparently this file makes Xcode think this is a bilingual framework, and we don't want that. 2014-08-21 23:40:14 +02:00
Kare Morstol 8c6f0a7171 Moved stream factory functions from unit test to stream.swift.
A new stream factory function which takes a closure which returns a closure which returns a string.
2014-08-21 23:38:50 +02:00
Kare Morstol 9c61126c5b stream(text: String) -> NSFileHandle uses writeabilityHandler 2014-08-21 01:58:19 +02:00
Kare Morstol 62a3604e4f NSFileHandle implements WriteableStreamType. 2014-08-21 01:18:37 +02:00
Kare Morstol 07fbd7df80 The release build now installs the framework to ~/Library/Frameworks/.
But it is deleted the next time you do a clean build. Y
2014-08-21 00:08:36 +02:00
Kare Morstol 7d60ec13ca Fixed info at the top of each file. Renamed String_Tests to String_Partition_Tests 2014-08-20 01:12:22 +02:00
Kare Morstol b92999eb44 Added the actual code, thereby improving the project's usefulness considerably. 2014-08-20 00:15:20 +02:00
Kare Morstol cbee21cd98 Initial commit of empty project 2014-08-19 23:44:45 +02:00
Kare Morstol 813ba92fa8 Created ignore file 2014-08-19 23:41:42 +02:00