Kare Morstol
a1ad3fb25c
Reformat code using swiftformat 0.40.14
...
Because it is the last version that does indentation and alignment correctly (tabs for indentation, spaces for alignment).
2020-07-11 15:33:57 +02:00
Kare Morstol
303dca53a3
Remove Tests/LinuxMain.swift, use '--enable-test-discovery' on Linux instead.
2020-07-10 19:38:47 +02:00
Kare Morstol
4f4fdbc458
Remove "support" for iOS.
...
Running shell commands has never worked on iOS, it was just a hack to enable kareman/FileSmith (which _does_ work on iOS) and SwiftShell to use the same `*Stream` protocols.
2020-07-08 16:45:37 +02:00
Kare Morstol
153bfc58d2
Update to Swift 5
2019-03-26 16:54:01 +01:00
Kare Morstol
66d57774a2
Replace String($0) with String.init. Add missing Linux unit test.
2018-01-30 02:03:49 +01:00
Kare Morstol
ecf0544d74
Merge swift4 into master
2017-09-25 21:22:43 +02:00
Kare Morstol
adcb0a09fa
Streams: add support for writing and reading Data.
2017-04-27 23:53:05 +02:00
Kare Morstol
f3bfbeb524
Make sure writing a stream to another stream compiles.
...
Because it very easily does not.
2017-04-27 23:53:05 +02:00
Kare Morstol
fdf348859c
Remove space before ( in function declarations.
...
I used to think it looked better for some reason.
2017-04-20 20:32:29 +02:00
Kare Morstol
1fef513b26
Documentation: small fixes.
2017-04-20 19:54:09 +02:00
Kare Morstol
755d1aa563
run() returns RunOutput instead of String. Supports || and &&.
2017-03-29 19:59:26 +02: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.
2017-02-28 01:45:24 +01:00