From 142e0c9fac9896f8cb134fd1e1b010753402e7b8 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 2 Feb 2019 17:14:33 +0100 Subject: Make it works and add “galette” recipe --- src/Main.hs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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 -- cgit v1.2.3