ats-pkg 3.4.0.4 → 3.4.0.5
raw patch · 6 files changed
+17/−9 lines, 6 filesdep ~shake
Dependency ranges changed: shake
Files
- CHANGELOG.md +5/−0
- app/Main.hs +1/−1
- ats-pkg.cabal +2/−2
- dhall/config.dhall +3/−2
- internal/System/Process/Ext.hs +2/−2
- src/Language/ATS/Package/Build.hs +4/−2
CHANGELOG.md view
@@ -1,5 +1,10 @@ # ats-pkg +## 3.4.0.5++ * Pin Dhall package+ * More sensible verbosity across shake/atspkg+ ## 3.4.0.3 * Support shake 0.18.4
app/Main.hs view
@@ -264,7 +264,7 @@ x = [buildAll v mStr tgt Nothing] run :: Command -> IO ()-run List = displayList "https://raw.githubusercontent.com/vmchale/atspkg/master/ats-pkg/pkgs/pkg-set.dhall"+run List = displayList "https://raw.githubusercontent.com/vmchale/atspkg/baac3c7bdcb0d617fba43818dbb66da554092039/ats-pkg/pkgs/pkg-set.dhall sha256:a16dc6b6d4d803a90682ec4e105a568a3c57bea8369fab6befccb9e6d203c615" run (Check p b) = void $ ($ Version [0,1,0]) <$> checkPkg p b run (CheckSet p b) = void $ checkPkgSet p b run Upgrade = upgradeBin "vmchale" "atspkg"
ats-pkg.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: ats-pkg-version: 3.4.0.4+version: 3.4.0.5 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.18.4,+ shake >=0.17, bytestring -any, composition-prelude >=1.3.0.3, binary -any,
dhall/config.dhall view
@@ -1,7 +1,8 @@-let version = "master"+let commit = "baac3c7bdcb0d617fba43818dbb66da554092039"+let hash = "" in -{ defaultPkgs = "https://raw.githubusercontent.com/vmchale/atspkg/${version}/ats-pkg/pkgs/pkg-set.dhall"+{ defaultPkgs = "https://raw.githubusercontent.com/vmchale/atspkg/${commit}/ats-pkg/pkgs/pkg-set.dhall sha256:a16dc6b6d4d803a90682ec4e105a568a3c57bea8369fab6befccb9e6d203c615" , path = (None Text) , githubUsername = "" , filterErrors = False
internal/System/Process/Ext.hs view
@@ -7,7 +7,7 @@ import System.Process verbosityErr :: Verbosity -> StdStream-verbosityErr v | v >= Verbose = Inherit+verbosityErr v | v >= Loud = Inherit verbosityErr _ = CreatePipe handleExit :: ExitCode -> IO ()@@ -15,7 +15,7 @@ handleExit x = exitWith x silentCreateProcess :: Verbosity -> CreateProcess -> IO ()-silentCreateProcess v proc' | v >= Verbose = do+silentCreateProcess v proc' | v >= Chatty = do (_, _, _, r) <- createProcess (proc' { std_err = verbosityErr v, std_out = Inherit }) handleExit =<< waitForProcess r silentCreateProcess v proc' = void $ readCreateProcess (proc' { std_err = verbosityErr v }) ""
src/Language/ATS/Package/Build.hs view
@@ -174,8 +174,10 @@ toVerbosity :: Int -> Verbosity toVerbosity 0 = Info-toVerbosity 1 = Verbose-toVerbosity 2 = Diagnostic+toVerbosity 1 = Info+toVerbosity 2 = Info+toVerbosity 3 = Verbose+toVerbosity 4 = Diagnostic toVerbosity _ = Diagnostic -- should be a warning options :: Bool -- ^ Whether to rebuild all targets