diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-08-06 02:21:32 +0200 |
---|---|---|
committer | Daniel Gröber (dxld) <dxld@darkboxed.org> | 2019-09-17 17:48:26 +0200 |
commit | 6d8b9e26885149ff6d3710ae3c7381a1c5b1fb64 (patch) | |
tree | 958392e341c0a7d7149a424bb5d575a87c1d3166 /tests | |
parent | 8f2e5eee7db0cfae21f0c347d5551f23e69de34c (diff) |
Introduce Package abstracton
After lamenting the fact that we don't have this in the docs I figured it
really ought to be an exposed abstraction.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GhcSession.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs index 1a97b89..886ee82 100644 --- a/tests/GhcSession.hs +++ b/tests/GhcSession.hs @@ -468,7 +468,7 @@ newBuildProjSetup = ProjSetupDescr "cabal-v2" $ Right $ Ex $ ProjSetupImpl -- V2File then, also remove addCabalProject below so we -- cover both cases. , psiConfigure = \progs dir -> - runWithCwd dir (cabalProgram progs) [ "new-configure" ] + runWithCwd dir (cabalProgram progs) [ "new-build", "--only-configure" ] , psiBuild = \progs dir -> runWithCwd dir (cabalProgram progs) [ "new-build" ] , psiSdist = \progs srcdir destdir -> do @@ -492,7 +492,7 @@ stackProjSetup ghcVer = , psiProjLoc = \_cabal_file projdir -> ProjLocStackYaml $ projdir </> "stack.yaml" , psiConfigure = \progs dir -> - runWithCwd dir (stackProgram progs) $ argsBefore ++ [ "build", "--dry-run" ] + runWithCwd dir (stackProgram progs) $ argsBefore ++ [ "build", "--only-configure" ] , psiBuild = \progs dir -> runWithCwd dir (stackProgram progs) $ argsBefore ++ [ "build" ] , psiSdist = \progs srcdir destdir -> do |