ats-pkg 3.4.0.5 → 3.4.0.6
raw patch · 9 files changed
+12/−19 lines, 9 filesdep ~shake
Dependency ranges changed: shake
Files
- CHANGELOG.md +2/−3
- app/Main.hs +1/−1
- ats-pkg.cabal +2/−2
- dhall/config.dhall +2/−3
- internal/System/Process/Ext.hs +2/−2
- man/atspkg.1 +1/−1
- src/Language/ATS/Package/Build.hs +2/−4
- src/Language/ATS/Package/Compiler.hs +0/−1
- src/Language/ATS/Package/Dependency.hs +0/−2
CHANGELOG.md view
@@ -1,9 +1,8 @@ # ats-pkg -## 3.4.0.5+## 3.4.0.4 - * Pin Dhall package- * More sensible verbosity across shake/atspkg+ * Drop `.bz2` decompression; support GHC 8.8.1 ## 3.4.0.3
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/baac3c7bdcb0d617fba43818dbb66da554092039/ats-pkg/pkgs/pkg-set.dhall sha256:a16dc6b6d4d803a90682ec4e105a568a3c57bea8369fab6befccb9e6d203c615"+run List = displayList "https://raw.githubusercontent.com/vmchale/atspkg/master/ats-pkg/pkgs/pkg-set.dhall" 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.5+version: 3.4.0.6 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,
dhall/config.dhall view
@@ -1,8 +1,7 @@-let commit = "baac3c7bdcb0d617fba43818dbb66da554092039"-let hash = ""+let version = "master" in -{ defaultPkgs = "https://raw.githubusercontent.com/vmchale/atspkg/${commit}/ats-pkg/pkgs/pkg-set.dhall sha256:a16dc6b6d4d803a90682ec4e105a568a3c57bea8369fab6befccb9e6d203c615"+{ defaultPkgs = "https://raw.githubusercontent.com/vmchale/atspkg/${version}/ats-pkg/pkgs/pkg-set.dhall" , 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 >= 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 }) ""
man/atspkg.1 view
@@ -1,4 +1,4 @@-.\" Automatically generated by Pandoc 2.8.1+.\" Automatically generated by Pandoc 2.9 .\" .TH "atspkg (1)" "" "" "" "" .hy
src/Language/ATS/Package/Build.hs view
@@ -174,10 +174,8 @@ toVerbosity :: Int -> Verbosity toVerbosity 0 = Info-toVerbosity 1 = Info-toVerbosity 2 = Info-toVerbosity 3 = Verbose-toVerbosity 4 = Diagnostic+toVerbosity 1 = Verbose+toVerbosity 2 = Diagnostic toVerbosity _ = Diagnostic -- should be a warning options :: Bool -- ^ Whether to rebuild all targets
src/Language/ATS/Package/Compiler.hs view
@@ -20,7 +20,6 @@ import Data.FileEmbed import qualified Development.Shake.Check as Check import Network.HTTP.Client hiding (decompress)-import Network.HTTP.Client.TLS (tlsManagerSettings) import Quaalude import System.FilePath.Find (find)
src/Language/ATS/Package/Dependency.hs view
@@ -10,7 +10,6 @@ -- import Codec.Archive as Archive import qualified Codec.Archive.Tar as Tar import Codec.Archive.Zip (ZipOption (..), extractFilesFromArchive, toArchive)-import qualified Codec.Compression.BZip as Bzip import qualified Codec.Compression.GZip as Gzip import qualified Codec.Compression.Lzma as Lzma import Control.Concurrent.ParallelIO.Global@@ -102,7 +101,6 @@ | ".tar.gz" `TL.isSuffixOf` s || ".tgz" `TL.isSuffixOf` s = pure Gzip.decompress | ".tar" `TL.isSuffixOf` s = pure id | ".tar.xz" `TL.isSuffixOf` s = pure Lzma.decompress- | ".tar.bz2" `TL.isSuffixOf` s = pure Bzip.decompress | otherwise = unrecognized (unpack s) tarResponse :: Text -> FilePath -> ByteString -> IO ()