Kare Morstol
d77285c152
README: Remove any mention of the SwiftShell2 branch. Add the 2.0.0 tag.
2016-02-24 02:33:11 +01:00
Kare Morstol
6dc391e83c
Readme: use the new ‘lines’ method in the example, and simplify it.
2015-12-18 22:55:06 +01:00
Kare Morstol
cadc7ff8c8
Readme: explain why it doesn't work on Linux.
2015-12-13 23:55:45 +01:00
Kare Morstol
327db331df
Readme: don't use heading 3
...
It looks almost identical to heading 2 on github.com
2015-12-13 23:38:54 +01:00
Kare Morstol
8bdbda0c4b
Readme: Add some cool badges.
2015-12-03 00:01:40 +01:00
Kare Morstol
35a1bd7642
Readme: rearrange + add more ways to use SwiftShell.
2015-12-02 23:48:51 +01:00
Kare Morstol
280f9e631e
Change flatmap to map. Because ‘open’ doesn't return an optional.
2015-11-12 23:29:43 +01:00
Kare Morstol
53feebe0e2
Readme: add example.
2015-11-12 02:20:48 +01:00
Kare Morstol
869eb69963
Readme: fill out ‘Usage' section.
2015-11-09 23:51:39 +01:00
Kare Morstol
4da7c5b668
Use $SWIFTSHELL_FRAMEWORK_PATH instead of $DYLD_FRAMEWORK_PATH in the swiftshell launcher script.
...
Because of this change in El Capitan:
"Spawning children processes of processes restricted by System Integrity Protection, such as by launching a helper process in a bundle with NSTask or calling the exec(2) command, resets the Mach special ports of that child process. Any dynamic linker (dyld) environment variables, such as DYLD_LIBRARY_PATH, are purged when launching protected processes."
https://developer.apple.com/library/prerelease/mac/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html
2015-11-09 21:45:54 +01:00
Kare Morstol
1bb3b0fcf7
README: Add Carthage badge of compatibility.
...
Because it is. Compatible that is.
2015-09-23 02:57:24 +02:00
Kare Morstol
d49bd67109
Update README for SwiftShell 2.0
...
Documentation to be continued.
2015-09-14 17:15:31 +02:00
Kare Morstol
b470f665ec
Update readme with link to master.
2015-06-28 01:19:51 +02:00
Kare Morstol
68bcb660d7
Readme: Add link to documentation generated by https://github.com/realm/jazzy .
2015-05-19 20:01:59 +02:00
Kare Morstol
9e591d694c
Update README.md, remove paragraph about support for functional programming.
...
It doesn't really do functional programming just because it has a |> operator.
2015-04-13 08:15:04 +02:00
Kare Morstol
96526987f3
Update readme with link to version for Swift 1.1
2015-02-14 18:36:55 +01:00
Kare Morstol
cc1d152f14
Rename /Div folder to Misc.
...
Well this is awkward. It seems a Norwegian term has snuck its way into the project. I meant Misc for Miscellaneous.
2015-01-05 19:40:27 +01:00
Kare Morstol
11a028d4ff
Fix #2 : "ReadableStreamType.readSome crashes with error "6555 Illegal instruction: 4" when using a Release build of SwiftShell."
...
Also fixes #1 : "SwiftShell_Speed_Tests unit tests never finish.".
It turns out NSString(data data: NSData, encoding encoding: UInt) returns an optional String, something Xcode/Swift neglected to tell me. Which is strange as they are normally very strict about these things. But what really solved these 2 issues (which are really the same issue) was removing the unnecessary cast "as String". For more on this really bizarre bug in the Swift compiler, see https://devforums.apple.com/message/1084852#1084852 .
2014-12-18 01:47:33 +01:00
Kare Morstol
1b70b6ffc6
Mention that standard input is also a stream.
2014-12-09 18:56:54 +01:00
Kare Morstol
cb3449a97d
Add link to included works under other licences to the README.
2014-12-09 18:49:58 +01:00
Kare Morstol
0974453073
Mention the parameters function in the README.
2014-12-09 18:37:33 +01:00
Kare Morstol
a3ab54ef21
Shorten headers, and small fixes.
2014-12-08 19:14:49 +01:00
Kare Morstol
b9554045d8
Mention shortcut to NSFileManager.defaultManager in README.
2014-12-08 00:06:34 +01:00
Kare Morstol
8d28ff776d
Streamline the readme.
2014-12-06 23:39:17 +01:00
Kare Morstol
2f76425abd
Replace the one remaining call to "writeTo".
2014-12-05 18:40:04 +01:00
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
85ba6e8e0d
Mark all example code as Swift.
2014-12-01 20:52:57 +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
0fc373937c
Add link to a SwiftShell script, trash.swift.
...
Also removed the word "very".
2014-11-21 21:12:13 +01:00
Kare Morstol
7d667165fd
Clarify note about crashing when reading from streams.
...
It is the compiled code that crashes, not the compiler itself.
2014-11-21 20:14:53 +01:00
Kare Morstol
a63bc3b536
Changed to the MIT license.
...
Because I don't really care that much about enforcing the sharing of changes.
2014-11-14 19:19:59 +01:00
Kare Morstol
e393c3d7a5
Change readme.md to use writeTo.
2014-10-25 21:07:40 +02:00
Kare Morstol
ba2fee299f
Clarify note about crashing when optimisations are turned on.
2014-10-24 22:24:09 +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
7328c7c32e
Note how release builds from 6.1 GM 2 still crash when using streams.
2014-10-15 23:45:39 +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
c19d7537c6
Edit README to be less bad.
2014-09-23 01:18:10 +02:00
Kare Morstol
96eb12b9fe
Enable "sequence of readable streams |> writeablestream".
...
Updated test script and README.
2014-09-18 00:51:50 +02:00
Kare Morstol
022bf75b76
Fix indentation of install command in README
2014-09-17 17:15:12 +02:00
Kare Morstol
f3de629868
Include note in README on using debug builds on Xcode 6.1
2014-09-17 17:09:52 +02:00
Kare Morstol
0883e76346
Shorten a line, fix strange highlighting of $.
2014-09-11 19:09:03 +02:00
Kare Morstol
7978b4286f
Explain how to run shell commands in readme.
2014-09-11 19:05:00 +02:00
Kare Morstol
4569705154
Add example for reading file, move installation to the end.
2014-09-09 18:52:20 +02:00
Kare Morstol
1238042b03
Fix code sample indentation in list.
2014-09-08 19:12:38 +02:00
Kare Morstol
62e48c8c63
Update README.md
2014-09-08 18:48:39 +02:00
Kare Morstol
2db569c9b8
Create README.md
2014-09-08 18:43:08 +02:00