Andreas Abel, 2023-04-03
- Add
print_commands_with
andechoWith
which can be used to override the default printing functions (e.g. to add color). (Chris Wendt, PR #228.) - Tested with GHC 8.2 - 9.6 (cabal) and GHC 8.10 - 9.6 (stack).
Andreas Abel, 2023-04-02
- Make
show_command
more robust to special characters and only quote when necessary. (Chris Wendt, PR #229.) - Tested with GHC 8.2 - 9.6 (cabal) and GHC 8.10 - 9.6 (stack).
Andreas Abel, 2023-02-27
-
Rework
ShellCmd
andShellCommand
instances to supportString
arguments: Issue #143 fixed by Cunning Defenstrator in PR #221.This involves a breaking change in classes
CmdArg
andShellArg
: MethodtoTextArg
has been replaced bytoTextArgs
.Sample migration:
#if MIN_VERSION_shelly(1,12,0) -- new import Shelly (toTextArgs) snoc opts arg = opts ++ toTextArgs arg #else -- old import Shelly (toTextArg) snoc opts arg = opts ++ [ toTextArg arg ] #endif
-
Dropped GHC 8.0 to get rid of deprecated
LANGUAGE IncoherentInstances
. -
Builds with GHC 8.2 - 9.6.
Andreas Abel, 2023-01-24
- Restore running of local scripts, e.g.
cmd "./foo.sh"
: Issue #107 fixed by Alfredo di Napoli in PR #216. - Builds with GHC 8.0 - 9.4.
Andreas Abel, 2023-01-24
- Allow
unix-compat-0.6
. - Builds
-Wall
warning-free with GHC 8.0 - 9.4.
Andreas Abel, 2022-01-30
- Allow
transformers-0.6
:- Replace
ErrorT
byExceptT
. - Remove
MonadSh
andMonadShControl
instance forListT
. #211
- Replace
- Bump lower bounds of dependencies, keeping all versions that build with GHC >= 8.0.
- Remove unused
unix
dependency. - Allow
time-1.12
. - Builds warning-free with GHC 8.0 - 9.2.1.
Greg Weber, 2019-08-29
- Drop dependencies
system-fileio
andsystem-filepath
in favor offilepath
: TheFilePath
type changed to a synonym ofString
. - Allow
time >= 1.9
. - Builds with GHC >= 8.0 (tested up to 9.2).
Greg Weber, 2018-05-30
- New function
cp_should_follow_symlinks
to specify whether a copy should follow symlinks.
Greg Weber, 2018-05-09
cp_r
now uses upper case R:cp -R
.
Greg Weber, 2018-03-17
- Fix handling of case-insensitive environment variables on Windows. #166
Greg Weber, 2018-03-06
- Support
exceptions-0.9
.
Greg Weber, 2018-01-23
Greg Weber, 2017-12-10
- Quote
ssh
remote commands aggressively with single quotes. #160
Greg Weber, 2017-12-07
- Strongly escape
ssh
commands. - Add
sshPairsP
: parallel execution ofssh
commands.
Sibi Prabakaran, 2017-11-26
- Relax
unix-compat
constraints.
Sibi Prabakaran, 2017-11-19
- Fix Build issue #156
Sibi Prabakaran, 2017-11-12
- Fix Windows build #155
Greg Weber, 2017-08-07
- Option
followSymlink
for find-command. - Allow
time-1.7/8
.
Greg Weber, 2017-03-03
- Support GHC 8.0.2
Greg Weber, 2017-03-03
- Allow
time-1.6
anddirectory-1.3
Greg Weber, 2016-10-02
- changelog missing
Greg Weber, 2016-06-26
- Added
sshPairsWithOptions
function.
Greg Weber, 2016-06-24
- Flush
stdout
when usingecho
, not justecho_n
. - Fix should be able to silence
stderr
when usingrunHandle
. - Expose
RunFailed
.
Greg Weber, 2016-04-21
- Add
prependToPath
function.
Greg Weber, 2015-12-10
- Expose
MonadShControl
.
Greg Weber, 2015-12-01
- Add
writeBinary
function.