handle default extra arguments for build command

This commit is contained in:
Luite Stegeman 2012-11-02 14:06:43 +01:00
parent 00f8764799
commit df9d4aef4a

View File

@ -74,6 +74,7 @@ main :: IO ()
main = do
o <- execParser =<< injectDefaults "yesod" [ ("yesod.devel.extracabalarg" , optCommand . develExtraArgs)
, ("yesod.devel.ignore" , optCommand . develIgnore)
, ("yesod.build.extracabalarg" , optCommand . buildExtraArgs)
] optParser'
print o
let cabal xs = rawSystem' (cabalCommand o) xs