handle default extra arguments for build command
This commit is contained in:
parent
00f8764799
commit
df9d4aef4a
@ -74,6 +74,7 @@ main :: IO ()
|
|||||||
main = do
|
main = do
|
||||||
o <- execParser =<< injectDefaults "yesod" [ ("yesod.devel.extracabalarg" , optCommand . develExtraArgs)
|
o <- execParser =<< injectDefaults "yesod" [ ("yesod.devel.extracabalarg" , optCommand . develExtraArgs)
|
||||||
, ("yesod.devel.ignore" , optCommand . develIgnore)
|
, ("yesod.devel.ignore" , optCommand . develIgnore)
|
||||||
|
, ("yesod.build.extracabalarg" , optCommand . buildExtraArgs)
|
||||||
] optParser'
|
] optParser'
|
||||||
print o
|
print o
|
||||||
let cabal xs = rawSystem' (cabalCommand o) xs
|
let cabal xs = rawSystem' (cabalCommand o) xs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user