Kare Morstol
7c0048820a
Enable build for running again, so SwiftShell will work in a playground.
2014-10-24 20:21:55 +02:00
Kare Morstol
0edc3d30dd
Deactivate unnecessary builds.
2014-10-23 19:11:56 +02:00
Kare Morstol
838b5ee617
Make “Debug” the default command line configuration.
...
The Swift compiler (Xcode 6.1) crashes when reading from streams when SwiftShell is built with optimisations turned on (anything but "SWIFT_OPTIMIZATION_LEVEL = -Onone").
2014-10-22 22:12:28 +02:00
Kare Morstol
f0d4c34f9b
Add versions of global Swift functions that can be used with the |> operator.
...
- Moved overloads of |> operator for WriteableStreamType to Stream.swift.
Note: it takes forever to compile if you put too many |> operators in a row.
2014-09-17 23:39:21 +02:00
Kare Morstol
1aa06b20f5
Make debug build installable.
...
Have to use debug builds instead of release in Xcode 6.1 beta 2. See issue #2 .
2014-09-17 16:36:31 +02:00
Kare Morstol
7ef52b67bf
Move XCTestCase.pathForTestResource to a file common for all unit test targets.
2014-09-15 22:17:06 +02:00
Kare Morstol
36e217c0c3
Make piping one stream to another lazy.
2014-09-12 01:12:50 +02:00
Kare Morstol
1d6788c08e
Add readme to scripts folder. Move test area.playground.
2014-09-11 21:39:35 +02:00
Kare Morstol
87659e8e15
Check if constant can be placed outside method now. It can't.
...
Also updated speed tests. They are almost 50% faster than beta 7!
2014-09-10 20:28:08 +02:00
Kare Morstol
0b38585a1e
Add testReadFileLineByLine, readfilelinebyline.Swift test script and a short text file for testing.
2014-09-09 18:57:39 +02:00
Kare Morstol
fad80f1b0e
renamed swiftshell.bash to swiftshell and moved it to Div folder.
2014-09-04 19:49:12 +02:00
Kare Morstol
d054f4ea12
New speed test baselines.
2014-09-04 18:29:01 +02:00
Kare Morstol
96ab5a2070
Enable "func run (shellcommand: String) -> ReadableStreamType" to also be run by itself on a single line.
...
A thorough explanation is forthcoming.
2014-09-02 15:23:22 +02:00
Kare Morstol
c3ae075c5c
Renamed File tests to FileHandle* too.
2014-08-29 02:42:20 +02:00
Kare Morstol
a647c41319
Renamed File to FileHandle.
2014-08-29 01:55:08 +02:00
Kare Morstol
d2d2f67bfa
Added playground. Excellent for rapidly testing stuff.
2014-08-28 20:35:02 +02:00
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
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
e63494b68b
Added new test file for Stream_Iteration_SpeedTests. Cleaned up.
2014-08-22 21:56:24 +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
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