cabal-toolkit 0.0.4 → 0.0.5
raw patch · 3 files changed
+16/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−0
- cabal-toolkit.cabal +7/−7
- src/Distribution/Simple/Toolkit.hs +1/−0
CHANGELOG.md view
@@ -1,5 +1,13 @@ # CHANGELOG for cabal-toolkit +## 0.0.5++* Invoke `addForeignFile` when relying on the content of `.buildinfo` in TH splices, to ensure they are re-run when the files are updated. (Credits to @nh2)++## 0.0.4++* Support `Cabal-1.24` and `ghc-8.0.2`. (Credits to @sgraf812)+ ## 0.0.3 * Add `Program`s for `cmake`/`make`/`ninja` for users who need to compile C/C++.
cabal-toolkit.cabal view
@@ -1,11 +1,11 @@--- This file has been generated from package.yaml by hpack version 0.20.0.+-- This file has been generated from package.yaml by hpack version 0.21.2. -- -- see: https://github.com/sol/hpack ----- hash: bbfe5abf3fb2315c5b297aa754349297649bad1bc491dd3fea8b8b0ee224a4a8+-- hash: 91eacc1d899b79bb01964d68a196a5c3942ac6546562fae40178cff3954d519c name: cabal-toolkit-version: 0.0.4+version: 0.0.5 synopsis: Helper functions for writing custom Setup.hs scripts. description: Helper functions for writing custom Setup.hs scripts. .@@ -33,6 +33,10 @@ location: https://github.com/TerrorJack/cabal-toolkit library+ exposed-modules:+ Distribution.Simple.Toolkit+ other-modules:+ Paths_cabal_toolkit hs-source-dirs: src other-extensions: TemplateHaskell@@ -45,8 +49,4 @@ , containers , ghc , template-haskell- exposed-modules:- Distribution.Simple.Toolkit- other-modules:- Paths_cabal_toolkit default-language: Haskell2010
src/Distribution/Simple/Toolkit.hs view
@@ -80,6 +80,7 @@ syringe :: FilePath -> Q Type -> Q Exp syringe p t = do+ addDependentFile p buf <- runIO $ LBS.readFile p [|unsafePerformIO $ do bs <-