Kare Morstol
99680b2efc
Release 5.1 ( #95 )
...
* Update README.md
* Update podspec.
5.1.0
2020-09-25 22:42:54 +02:00
Kare Morstol
c36f2e1051
Update Xcode project. ( #94 )
...
As suggested by Xcode 12. Also update Swift version.
2020-09-25 22:31:02 +02:00
Kare Morstol
b187feb37d
Test with Swift 5.3 and Xcode 12 ( #93 )
...
Use xcpretty-actions-formatter
2020-09-25 21:36:26 +02:00
Kare Morstol
a6014fe94c
CI: Separate out Xcode and cocapods tests ( #88 )
5.1.0-beta.1
2020-07-13 00:59:09 +02:00
Kare Morstol
dd25f7bcb8
Xcode project: set deployment target, remove unused iOS stuff. ( #89 )
2020-07-13 00:50:57 +02:00
Kare Morstol
fbd9a6f4b3
Readme: remove Travis badge
2020-07-12 23:21:42 +02:00
Kare Morstol
d04acc9b35
Readme: supports Swift 5.1 - 5.3
2020-07-12 23:14:25 +02:00
Kare Morstol
0bd6df91d6
Test on Swift 5.1 too. ( #86 )
2020-07-11 16:55:00 +02:00
Kare Morstol
f69be75dfe
Merge pull request #87 from kareman/cleanup
...
Cleanup
2020-07-11 15:55:20 +02:00
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
f35d797f2f
CI: swift build --enable-test-discovery
2020-07-10 22:37:51 +02:00
Kare Morstol
8c1e54f420
Remove missing files from Xcode project.
2020-07-10 22:37:51 +02:00
Kare Morstol
95feddb681
Remove Process extensions for Linux.
...
It seems they have been added to Swift Foundation.
2020-07-10 19:38:47 +02:00
Kare Morstol
4729769743
Use built-in XCTest error testing.
2020-07-10 19:38:47 +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
45a21f0b5b
Remove custom nullDevice.
...
Turns out my implementation of nullDevice in SwiftFoundation was merged four years ago and I forgot about it.
2020-07-10 19:38:47 +02:00
Kare Morstol
4dd3d8d28a
Merge pull request #84 from kareman/Swift5.3
...
Support Swift 5.3, "drop" iOS
2020-07-10 19:35:04 +02:00
Kare Morstol
647b7375bf
Set Swift version to 5.2.4.
2020-07-08 18:04:39 +02:00
Kare Morstol
16227a283d
Add GitHub CI tests ( #85 )
...
* Set Swift version to 5.2.4.
* Test Cocoapod
* Delete .travis.yml
2020-07-08 17:56:47 +02:00
Kare Morstol
7c816d6b43
Readme: Remove mentions of FileSmith.
...
FileSmith and SwiftShell no longer cooperate specifically.
2020-07-08 17:00:17 +02:00
Kare Morstol
c6006f1adf
Set Swift version to 5.2.2.
...
The latest version is 5.2.4, but that isn't currently supported in the CI for Linux.
2020-07-08 16:47:59 +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
bfddee7c95
Compile on Swift 5.3
2020-07-08 15:25:21 +02:00
Kare Morstol
4da45e4e6f
Readme: update errors example
2020-07-01 23:21:29 +02:00
Kare Morstol
fb7fc2c9ad
Release 5.0.1
5.0.1
2019-10-02 20:08:45 +02:00
Kare Morstol
031cd65cae
Merge pull request #76 from kareman/Support_older_macOS
...
Support older macOS
2019-08-11 17:33:56 +02:00
Kare Morstol
fc130c441d
Fix indentation, remove platform restriction from Package.swift.
2019-08-11 16:07:51 +02:00
KarlZeo
b5c925dfcc
support old macOS version
...
Signed-off-by: KarlZeo <nieyujiang@gmail.com >
2019-08-11 16:07:51 +02:00
Kare Morstol
4a104a5aea
fix framework build setting from corrupting xcode archive type.
2019-08-11 15:22:42 +02:00
Kare Morstol
8cf0ca7604
Readme: include "platforms: [.macOS(.v10_13)]," under Swift Package Manager.
2019-05-13 14:17:57 +02:00
Kare Morstol
b1114524ee
Readme: put back the build status tag
...
Travis has updated their macOS image with the final version of Xcode 10.2
2019-04-04 20:02:25 +02:00
Kare Morstol
1a9cfc79be
Readme: replace the last remaining http with https
2019-03-28 16:21:40 +01:00
Kare Morstol
22438f287e
Readme: remove Travis badge as it is always failing now.
...
Until they update their environment to the final release of Xcode 10.2.
2019-03-28 16:01:25 +01:00
Kare Morstol
2614f86520
swiftshell-init: update generated Package.swift.
5.0.0
2019-03-27 23:17:30 +01:00
Kare Morstol
f200bfe369
Release version 5.0.0
2019-03-27 23:01:08 +01:00
Kare Morstol
0488a479d7
'exit' functions only print filename and line number in debug builds.
2019-03-27 22:22:36 +01:00
Kare Morstol
45e4b83481
Travis: print Swift version.
2019-03-27 17:43:32 +01:00
Kare Morstol
d0679c800f
Swift package manager: specify minimum macOS and Swift versions
2019-03-26 18:30:26 +01:00
Kare Morstol
74e74536c8
Work around Swift Foundation returning different error code when executable is unavailable.
...
This way "launchThrowably" returns the same error code on macOS and Linux when the executable can not be executed.
https://travis-ci.org/kareman/SwiftShell/jobs/511594470#L575
SwiftShell/Tests/SwiftShellTests/Command_Tests.swift:271: error: RunAndPrint_Tests.testThrowsErrorOnInaccessibleExecutable : failed - Caught error <The operation could not be completed>, but not of the expected type and value <Could not execute file at path 'notachance'.>.
2019-03-26 18:22:20 +01:00
Kare Morstol
7975a37212
Travis: only use swiftenv if not on macOS.
2019-03-26 18:06:11 +01:00
Kare Morstol
2e4c18ea72
Travis: use osx_image: xcode10.2. I hope it exists.
2019-03-26 17:51:38 +01:00
Kare Morstol
20cd8cc2c9
Don't verify file is executable before running it.
...
Also remove unneeded Equatable implementation.
2019-03-26 17:41:56 +01:00
Kare Morstol
153bfc58d2
Update to Swift 5
2019-03-26 16:54:01 +01:00
Kare Morstol
0b1fe3aed3
Set minimum macOS version to 10.13.
...
Because it is using methods on Process that were added in 10.13.
2019-03-26 16:49:07 +01:00
Jacob Williams
c109df09c4
Forgot to remove the unwanted deprecation warning
2019-03-26 08:34:55 -06:00
Jacob Williams
3cf7a9407c
Upgrade to Swift 5!
2019-03-26 08:34:06 -06:00
Kare Morstol
c173a81f61
Readme: update links to nottoobadsoftware.com
2019-03-13 22:47:36 +01:00
Kare Morstol
beebe43c98
Release version 4.1.2.
4.1.2
2018-10-03 21:16:26 +02:00
Kare Morstol
62da383972
RunOutput(launch:): rename parameter to ‘command’, add documentation.
...
Removed
```swift
group.enter()
defer {
group.leave()
}
```
because no matter what happens, "group.leave()" will be called when exiting this scope. As such it serves no purpose. We still need to use ‘group’ for the asynchronous reading of standard error though.
2018-10-03 21:02:49 +02:00
Kare Morstol
b69b6ff877
Make RunOutput.stdout and .stderror publicly immutable again.
...
For some reason I apparently thought that lazy properties are always immutable. I have no idea why.
2018-10-03 19:17:53 +02:00