Kare Morstol
21a385f198
Simplify #if statement.
3.0.0-beta.12
2017-03-23 20:53:07 +01:00
Kare Morstol
3a824465c8
Travis: test on Swift 3.1 beta
...
Install Swift 3.1 first
2017-03-23 20:53:07 +01:00
Joe Smith
4c416f38a4
Swift 3.1 Correctly Removes Task ( #35 )
...
Looks like this may be fallout from https://bugs.swift.org/browse/SR-3279
2017-03-23 20:37:49 +01:00
Kare Morstol
fee47d0857
Readme: add header for Moderator and FileSmith.
2017-03-16 01:12:49 +01:00
Kare Morstol
03384130ea
Remove CocoaPods test from Travis as it only fails there.
2017-03-02 22:08:22 +01:00
Kare Morstol
89ac85208c
Readme: update CocoaPods instructions and projected Swift version for ABI instability.
2017-03-02 19:51:42 +01:00
Kare Morstol
d6feaf2606
Add test of pod spec to Travis.
2017-03-02 19:34:58 +01:00
Kare Morstol
af7399e93a
Fix up ReadableStream.onStringOutput, set framework as dependency for all unit test targets.
2017-03-02 19:15:49 +01:00
Kare Morstol
d944464578
Update podspec with iOS deployment target 9.0.
3.0.0-beta.11
2017-03-01 21:58:37 +01:00
Kare Morstol
5a78671651
Remove completely unintended and compile-breaking word.
2017-03-01 19:28:55 +01:00
Kare Morstol
a93535b390
Add CocoaPods support.
2017-03-01 19:17:43 +01:00
Kare Morstol
bcaab22767
Require encoding for FileHandle.readSome and .read. Documentation.
2017-03-01 18:25:58 +01:00
Kare Morstol
fa70e419dd
Enable building for iOS. Just the Stream part. So FileSmith can use it.
...
The rest cannot build on iOS because it uses Process.
Move the Stream files into its own directory.
3.0.0-beta.10
2017-02-28 01:45:24 +01:00
Kare Morstol
7204dbdb3a
@discardableResult declared on a function returning Void is unnecessary.
2017-02-21 22:11:54 +01:00
Kare Morstol
62780a880a
String(contentsOfFile:) not implemented on Linux, use String(contentsOfFile: encoding:) instead.
3.0.0-beta.9
2017-01-31 00:41:29 +01:00
Kare Morstol
43a726bbba
Fix testOpenForOverWritingCreatesIntermediateDirectory.
2017-01-30 20:37:13 +01:00
Kare Morstol
11b979c690
Fix AssertNoThrow silencing test failures. Cleanup test helping code.
2017-01-30 20:27:12 +01:00
Miguel Angel Quinones Garcia
93b2b36d68
Fix intermediate directories not created ( #32 )
...
* Fix intermediate directories not created
If the destination path contains nonexisting directories, the function would fail where otherwise it is expected to create all directories in the path.
* Add test for creation with intermediate directories
2017-01-30 20:13:49 +01:00
Kare Morstol
eca353d338
Rename WriteableStream to WritableStream.
...
Because that is the spelling Apple uses.
2017-01-25 18:50:56 +01:00
Kare Morstol
4145afefd8
Make the default main.stdout a StdoutStream, which uses Swift.print().
3.0.0-beta.8
2017-01-09 22:56:57 +01:00
Kare Morstol
fa8f65e13f
Make ReadableStream.lines return type prettier.
2017-01-09 22:32:47 +01:00
Kare Morstol
ce44afe306
Turn WriteableStream and ReadableStream into protocols.
...
* Remove WriteableStream.writeln, use .print instead.
* Work around compiler crash on Linux.
2017-01-09 17:43:53 +01:00
Kare Morstol
e53557624c
Update to recommended settings in Xcode 8.2.
2016-12-16 20:13:43 +01:00
Kare Morstol
6f5138e9d6
Update Swift version to 3.0.2.
2016-12-16 20:11:09 +01:00
Kare Morstol
5dd2da16f0
Remove workaround for fixed compiler bug when printing errors.
3.0.0-beta.7
2016-11-23 00:26:48 +01:00
Kare Morstol
fe81f49fb5
Make .encoding in WriteableStream and ReadableStream public and mutable.
2016-11-16 21:02:06 +01:00
Kare Morstol
3abef0d51d
Small documentation fix.
2016-11-16 21:02:06 +01:00
Kare Morstol
daf894ed2a
Readme: list functionality and mention readSome().
2016-11-16 20:43:15 +01:00
Kare Morstol
25f64feceb
Set Swift version to 3.0.1.
3.0.0-beta.6
2016-11-04 00:13:00 +01:00
Kare Morstol
f3f86c0c3b
Improve output from *Stream.debugDescription.
2016-11-04 00:10:12 +01:00
Kare Morstol
6b5be62c18
Add debugDescription to Streams and Contexts.
2016-11-03 21:54:53 +01:00
kareman
8590bc52ae
Make Misc/swiftshell-init work on Linux.
2016-11-03 19:56:59 +01:00
Kare Morstol
8ffddca79e
Readme: fix small error.
2016-11-02 21:03:01 +01:00
kareman
eea3cd2d61
Simplify WriteableStream.print
3.0.0-beta.5
2016-11-01 21:46:46 +01:00
kareman
6acfe7f870
Add WriteableStream.print
2016-11-01 21:25:14 +01:00
kareman
221c9892bc
Replace OSX with macOS
2016-11-01 20:37:47 +01:00
Kare Morstol
d25de300fc
Have travis test on Linux too.
2016-10-26 18:50:12 +02:00
Kare Morstol
1a24474a32
Readme: Update badges with Linux support, remove licence badge.
3.0.0-beta.4
2016-10-18 18:35:57 +02:00
Kare Morstol
8c4f4d94a1
Merge pull request #25 from kareman/linux-support
...
Linux support
2016-10-18 17:55:06 +02:00
kareman
f78b0bd85a
Avoid crash on Linux at 'FileHandle.write()'.
2016-10-16 22:08:40 +02:00
kareman
ab98f7d8e3
Fix crash on Linux when using WriteableStream.writeln("").
2016-10-16 20:57:51 +02:00
kareman
8ce6100286
Add FileHandle.nullDev, cross-platformise some unit test.
2016-10-16 20:51:51 +02:00
kareman
0f0ddfb9ea
Add tests on Linux
2016-10-15 00:06:05 +02:00
kareman
ef98b8da07
Get it to build on Linux. No tests yet.
2016-10-13 19:17:40 +02:00
Kare Morstol
339b5aa358
Workaround for Foundation.URL not handling leading "~".
2016-10-11 23:56:19 +02:00
Kare Morstol
22dd184b69
Update readme for SwiftShell 3 and Swift 3.
3.0.0-beta.3
2016-10-10 23:10:59 +02:00
Kare Morstol
c878d1fec9
Explain cryptic bash command.
2016-10-10 23:07:08 +02:00
Kare Morstol
965319d3c6
Remove .bash extension from swiftshell-init.
2016-10-10 22:23:22 +02:00
Kare Morstol
7768d3a24c
Make errorcode an Int.
2016-10-10 21:58:39 +02:00
Kare Morstol
42a23b89c2
SwiftShell–init use beta version.
2016-10-10 17:35:58 +02:00