Quicker builds on development
This commit is contained in:
parent
9815fe8891
commit
29ce11cd5a
@ -36,7 +36,7 @@ main = do
|
|||||||
#endif
|
#endif
|
||||||
["devel"] -> devel isDev
|
["devel"] -> devel isDev
|
||||||
["version"] -> putStrLn "0.9"
|
["version"] -> putStrLn "0.9"
|
||||||
"configure":rest -> rawSystem cmd ("configure":rest) >>= exitWith
|
"configure":rest -> rawSystem cmd ("configure":"--disable-library-profiling":rest) >>= exitWith
|
||||||
_ -> do
|
_ -> do
|
||||||
putStrLn "Usage: yesod <command>"
|
putStrLn "Usage: yesod <command>"
|
||||||
putStrLn "Available commands:"
|
putStrLn "Available commands:"
|
||||||
|
|||||||
@ -37,6 +37,8 @@ library
|
|||||||
Settings.StaticFiles
|
Settings.StaticFiles
|
||||||
Handler.Root
|
Handler.Root
|
||||||
|
|
||||||
|
ghc-options: -Wall -threaded -O0
|
||||||
|
|
||||||
executable ~project~
|
executable ~project~
|
||||||
if flag(devel)
|
if flag(devel)
|
||||||
Buildable: False
|
Buildable: False
|
||||||
@ -45,7 +47,7 @@ executable ~project~
|
|||||||
cpp-options: -DPRODUCTION
|
cpp-options: -DPRODUCTION
|
||||||
ghc-options: -Wall -threaded -O2
|
ghc-options: -Wall -threaded -O2
|
||||||
else
|
else
|
||||||
ghc-options: -Wall -threaded
|
ghc-options: -Wall -threaded -O0
|
||||||
|
|
||||||
if os(windows)
|
if os(windows)
|
||||||
cpp-options: -DWINDOWS
|
cpp-options: -DWINDOWS
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user