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