mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-14 02:14:14 +03:00
shake: use default build dir
This commit is contained in:
parent
8ee0c7fa76
commit
bf4e6c314c
6
Shake.hs
6
Shake.hs
@ -48,7 +48,6 @@ usage = [i|Usage:
|
|||||||
./Shake webmanual # generate combined web man page for hakyll
|
./Shake webmanual # generate combined web man page for hakyll
|
||||||
|]
|
|]
|
||||||
|
|
||||||
buildDir = ".build"
|
|
||||||
pandoc =
|
pandoc =
|
||||||
-- "stack exec -- pandoc" -- use the pandoc required above
|
-- "stack exec -- pandoc" -- use the pandoc required above
|
||||||
"pandoc" -- use pandoc in PATH (faster)
|
"pandoc" -- use pandoc in PATH (faster)
|
||||||
@ -62,8 +61,7 @@ main = do
|
|||||||
|
|
||||||
shakeArgs
|
shakeArgs
|
||||||
shakeOptions{
|
shakeOptions{
|
||||||
shakeFiles=buildDir
|
shakeVerbosity=Loud
|
||||||
,shakeVerbosity=Loud
|
|
||||||
-- ,shakeReport=[".shake.html"]
|
-- ,shakeReport=[".shake.html"]
|
||||||
} $ do
|
} $ do
|
||||||
|
|
||||||
@ -230,4 +228,4 @@ main = do
|
|||||||
removeFilesAfter "doc" ["*.o","*.p_o","*.hi"] -- forces rebuild of exes ?
|
removeFilesAfter "doc" ["*.o","*.p_o","*.hi"] -- forces rebuild of exes ?
|
||||||
removeFilesAfter "site" ["*.o","*.p_o","*.hi"]
|
removeFilesAfter "site" ["*.o","*.p_o","*.hi"]
|
||||||
putNormal "Cleaning shake build files"
|
putNormal "Cleaning shake build files"
|
||||||
removeFilesAfter buildDir ["//*"]
|
removeFilesAfter ".shake" ["//*"]
|
||||||
|
Loading…
Reference in New Issue
Block a user