ats-pkg 3.4.0.3 → 3.4.0.4
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~shake
Dependency ranges changed: shake
Files
- ats-pkg.cabal +2/−2
- internal/System/Process/Ext.hs +2/−2
ats-pkg.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: ats-pkg-version: 3.4.0.3+version: 3.4.0.4 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2018-2019 Vanessa McHale@@ -110,7 +110,7 @@ filepath -any, microlens -any, ansi-wl-pprint -any,- shake >=0.17,+ shake >=0.18.4, bytestring -any, composition-prelude >=1.3.0.3, binary -any,
internal/System/Process/Ext.hs view
@@ -7,7 +7,7 @@ import System.Process verbosityErr :: Verbosity -> StdStream-verbosityErr v | v >= Loud = Inherit+verbosityErr v | v >= Verbose = Inherit verbosityErr _ = CreatePipe handleExit :: ExitCode -> IO ()@@ -15,7 +15,7 @@ handleExit x = exitWith x silentCreateProcess :: Verbosity -> CreateProcess -> IO ()-silentCreateProcess v proc' | v >= Chatty = do+silentCreateProcess v proc' | v >= Verbose = do (_, _, _, r) <- createProcess (proc' { std_err = verbosityErr v, std_out = Inherit }) handleExit =<< waitForProcess r silentCreateProcess v proc' = void $ readCreateProcess (proc' { std_err = verbosityErr v }) ""