packages feed

fay-builder 0.1.0.6 → 0.1.0.7

raw patch · 4 files changed

+15/−10 lines, 4 filesdep ~Cabaldep ~fayPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: Cabal, fay

API changes (from Hackage documentation)

- Fay.Builder: fayConfig :: Maybe FilePath -> [String] -> FilePath -> [FilePath] -> CompileConfig
+ Fay.Builder: fayConfig :: Maybe FilePath -> [String] -> FilePath -> [FilePath] -> Config

Files

CHANGELOG.md view
@@ -1,3 +1,9 @@-# 0.1.0.5+# Changelog++#### 0.1.0.7 (2014-04-29)++* Use `fay 0.20`++#### 0.1.0.5  * Initial release
README.md view
@@ -2,7 +2,7 @@  [![Build Status](https://travis-ci.org/silkapp/fay-builder.svg?branch=master)](https://travis-ci.org/silkapp/fay-builder) -For an introduction please see the post on the [Silk Engineering blog](http://engineering.silk.co).+For an introduction please see the post on the [Silk Engineering blog](http://engineering.silk.co/post/82777010096/writing-admin-interfaces-with-fay-using-fay-builder).  ## Installation 
fay-builder.cabal view
@@ -1,5 +1,5 @@ name:                fay-builder-version:             0.1.0.6+version:             0.1.0.7 synopsis:            Compile Fay code on cabal install, and ad-hoc recompile during development description:         Compile Fay code on cabal install, and ad-hoc recompile during development license:             OtherLicense@@ -26,10 +26,10 @@   exposed-modules:   Fay.Builder   build-depends:       base >= 4.5 && < 4.8-    , Cabal >= 1.4 && < 1.19+    , Cabal >= 1.4 && < 1.21     , data-default >= 0.5.3 && < 0.6     , directory >= 1.1 && < 1.3-    , fay == 0.19.*+    , fay == 0.20.*     , filepath == 1.3.*     , split >= 0.2.2 && < 0.3     , text >= 0.11 && < 1.2
src/Fay/Builder.hs view
@@ -24,7 +24,6 @@ import Distribution.Simple.LocalBuildInfo import Distribution.Simple.Setup import Fay-import Fay.Compiler.Config import qualified Distribution.PackageDescription.Parse as PD (readPackageDescription) import qualified Distribution.Verbosity                as Verbosity @@ -69,13 +68,13 @@ field_ key = fromMaybe (error $ key ++ "is  missing") . field key  -- | Default config, TODO make this optional-fayConfig :: Maybe FilePath -> [String] -> FilePath -> [FilePath] -> CompileConfig+fayConfig :: Maybe FilePath -> [String] -> FilePath -> [FilePath] -> Config fayConfig pkgDb packages dir includePs =     addConfigDirectoryIncludePaths (dir : includePs)   . addConfigPackages              packages-  $ def { Fay.configWall        = True-        , Fay.configPrettyPrint = True-        , Fay.configPackageConf = pkgDb+  $ def { configWall        = True+        , configPrettyPrint = True+        , configPackageConf = pkgDb         }  -- | Default build hook for your Setup.hs