1 import Test
.Cabal
.Prelude
4 main
= cabalTest
$ recordMode DoNotRecord
$ do
7 let cwd
= testCurrentDir env
10 cabal
"v2-build" [ "--project-dir=proj", "all" ]
13 cabal
"v2-build" [ "--project-dir", (cwd
</> "proj"), "all" ]
15 cabal
"v2-clean" [ "--project-dir=proj" ]
17 withProjectFile
"nix/cabal.project" $ do
18 cabal
"v2-build" [ "--project-dir=proj", "extra" ]
20 cabal
"v2-clean" [ "--project-dir=proj" ]
22 -- App with no cabal.project
23 void
$ cabal_raw
' [ "run", "--project-dir=app", "app" ] Nothing