Don't build stack dependencies by default

Adds a global option `--stack-build-deps` to enable old behavior
This commit is contained in:
Nikolay Yakimov
2016-08-24 18:09:29 +03:00
parent c97049836f
commit 637f73ec80
3 changed files with 10 additions and 3 deletions

View File

@@ -146,6 +146,10 @@ globalArgSpec = Options
<=> value "UTF-8"
<=> showDefault
<=> help "I/O encoding"
<*> switch
$$ long "stack-build-deps"
<=> showDefault
<=> help "Build dependencies if needed when using stack"
where
fileMappingSpec =
getFileMapping . splitOn '=' <$> strOption