diff options
author | Joris | 2019-02-02 17:14:33 +0100 |
---|---|---|
committer | Joris | 2019-02-02 17:14:33 +0100 |
commit | 142e0c9fac9896f8cb134fd1e1b010753402e7b8 (patch) | |
tree | 6315c75f5d8a2a0c4f6e6b7251f621fde933ac9f /src | |
parent | fb470f57438047ac8bd635dc485881ebae4ab0ff (diff) |
Make it works and add “galette” recipe
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Main.hs b/src/Main.hs index 52d0cee..d0dd91f 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -1,12 +1,12 @@ {-# LANGUAGE OverloadedStrings #-} -import Data.List (sortBy) -import Data.Monoid (mappend) -import Data.Ord (comparing) +import Data.List (sortBy) +import Data.Monoid (mappend) +import Data.Ord (comparing) -import Hakyll -import Hakyll.Core.Item (Item(itemIdentifier)) -import System.Process (readProcess) +import Hakyll +import Hakyll.Core.Item (Item (itemIdentifier)) +import System.Process (readProcess) main :: IO () main = hakyllWith configuration $ do @@ -24,7 +24,7 @@ main = hakyllWith configuration $ do match "js/src/**" $ do route $ customRoute $ const "main.js" compile $ - unsafeCompiler (readProcess "pulp" [ "build", "--optimise", "--src-path", "js" ] "") + unsafeCompiler (readProcess "pulp" [ "--psc-package", "build", "--optimise", "--src-path", "js" ] "") >>= makeItem match "recettes/**" $ do |