packages feed

ats-pkg 2.0.0.7 → 2.0.0.8

raw patch · 3 files changed

+8/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -18,8 +18,10 @@ [GHC](https://www.haskell.org/ghc/download.html) and install with  ```bash-cabal new-install ats-pkg --symlink-bindir ~/.local/bin+cabal new-install ats-pkg --symlink-bindir ~/.local/bin --happy-options='-gcsa' --alex-options='-g' ```++Note that `$HOME/.local/bin` will need to be on your `PATH`.  ## Examples 
ats-pkg.cabal view
@@ -1,5 +1,5 @@ name:                ats-pkg-version:             2.0.0.7+version:             2.0.0.8 synopsis:            Package manager for ATS description:         A collection of scripts to make building ATS projects easy. homepage:            https://github.com/vmchale/ats-pkg#readme
src/Language/ATS/Package/Build.hs view
@@ -143,8 +143,9 @@ pkgToAction :: [IO ()] -> [String] -> Pkg -> Rules () pkgToAction setup rs (Pkg bs ts mt v v' ds cds cc cf as cdir) = do -    unless (rs == ["clean"]) $-        let cdps = if any gc bs then libcAtomicOps : libcGC (Version [7,6,4]) : cds else cds in+    unless (rs == ["clean"]) $ do+        want [".atspkg/config"]+        let cdps = if any gc bs then libcAtomicOps : libcGC (Version [7,6,4]) : cds else cds         liftIO $ fetchDeps False setup ds cdps (null as) >> stopGlobalPool      mapM_ g (bs ++ ts)@@ -163,7 +164,7 @@                 gc'                 (TL.unpack <$> ls)                 (TL.unpack s)-                (".atspkg/config" : (TL.unpack <$> hs'))+                (TL.unpack <$> hs')                 (both TL.unpack . asTuple <$> atg)                 (TL.unpack t)