packages feed

shake-ats 1.0.0.1 → 1.0.0.2

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

shake-ats.cabal view
@@ -1,5 +1,5 @@ name:                shake-ats-version:             1.0.0.1+version:             1.0.0.2 synopsis:            Utilities for building ATS projects with shake description:         Various helper functions for building [ATS](http://www.ats-lang.org/) with the [shake](http://shakebuild.com/) library homepage:            https://github.com/vmchale/shake-ats#readme
src/Development/Shake/ATS.hs view
@@ -86,11 +86,11 @@         let subdir = takeDirectory cf ++ "/"             endsBuild = (== "build") . last . splitPath         dir <- filter endsBuild <$> liftIO (getSubdirs $ subdir ++ "dist-newstyle/build")-        let obj = head dir ++ "/" ++ (takeFileName obf)+        let obj = head dir ++ "/" ++ takeFileName obf         liftIO $ copyFile obj out          let hdr = dropExtension obj ++ "_stub.h"-        liftIO $ copyFile hdr (takeDirectory out ++ "/" ++ hdr)+        liftIO $ copyFile hdr (takeDirectory out ++ "/" ++ takeFileName hdr)  -- cabal deps ghcExport :: String -> Rules ()