Generate cabal.sandbox.config in test/data/broken-cabal
This commit is contained in:
parent
87c587993a
commit
9922cf08e1
@ -11,7 +11,9 @@ import TestUtils
|
|||||||
|
|
||||||
main = do
|
main = do
|
||||||
let sandboxes = [ "test/data", "test/data/check-packageid"
|
let sandboxes = [ "test/data", "test/data/check-packageid"
|
||||||
, "test/data/duplicate-pkgver/" ]
|
, "test/data/duplicate-pkgver/"
|
||||||
|
, "test/data/broken-cabal/"
|
||||||
|
]
|
||||||
genSandboxCfg dir = withDirectory dir $ \cwd -> do
|
genSandboxCfg dir = withDirectory dir $ \cwd -> do
|
||||||
system ("sed 's|@CWD@|" ++ cwd ++ "|g' cabal.sandbox.config.in > cabal.sandbox.config")
|
system ("sed 's|@CWD@|" ++ cwd ++ "|g' cabal.sandbox.config.in > cabal.sandbox.config")
|
||||||
pkgDirs =
|
pkgDirs =
|
||||||
|
Loading…
Reference in New Issue
Block a user