Quicker builds on development

This commit is contained in:
Michael Snoyman 2011-09-22 09:01:27 +03:00
parent 9815fe8891
commit 29ce11cd5a
2 changed files with 4 additions and 2 deletions

View File

@ -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:"

View File

@ -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