aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs14
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