Skip to content

Commit 99e1486

Browse files
authored
Merge pull request #7648 from fgaz/remove-cabal-plan-from-makefile
Change cabal-plan list-bin to cabal list-bin in Makefile
2 parents 47eaa71 + 42c0599 commit 99e1486

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $(TEMPLATE_PATHS) : templates/Paths_pkg.template.hs cabal-dev-scripts/src/GenPat
6464

6565
buildinfo-fields-reference : phony
6666
cabal build --builddir=dist-newstyle-bi --project-file=cabal.project.buildinfo buildinfo-reference-generator
67-
$$(cabal-plan list-bin --builddir=dist-newstyle-bi buildinfo-reference-generator) buildinfo-reference-generator/template.zinza | tee $@
67+
$$(cabal list-bin --builddir=dist-newstyle-bi buildinfo-reference-generator) buildinfo-reference-generator/template.zinza | tee $@
6868

6969
# analyse-imports
7070
analyse-imports : phony
@@ -119,24 +119,22 @@ hackage-roundtrip-tests :
119119
$(CABALRUN) hackage-tests -- roundtrip +RTS -s -qg -I0 -A64M -N${THREADS} -RTS ${TEST}
120120

121121
cabal-install-test:
122-
@which cabal-plan
123122
$(CABALBUILD) -j3 cabal-tests cabal
124123
rm -rf .ghc.environment.*
125-
cd cabal-testsuite && `cabal-plan list-bin cabal-tests` --with-cabal=`cabal-plan list-bin cabal` --hide-successes -j3 ${TEST}
124+
cd cabal-testsuite && `cabal list-bin cabal-tests` --with-cabal=`cabal list-bin cabal` --hide-successes -j3 ${TEST}
126125

127126
# hackage-benchmarks (solver)
128127

129128
hackage-benchmarks-run:
130129
$(CABALBUILD) -j3 hackage-benchmark cabal
131130
rm -rf .ghc.environment.*
132-
$$(cabal-plan list-bin hackage-benchmark) --cabal1=cabal --cabal2=$$(cabal-plan list-bin cabal) --packages="hakyll servant-auth-server" --print-trials --concurrently
131+
$$(cabal list-bin hackage-benchmark) --cabal1=cabal --cabal2=$$(cabal list-bin cabal) --packages="hakyll servant-auth-server" --print-trials --concurrently
133132

134133

135134
# This doesn't run build, as you first need to test with cabal-install-test :)
136135
cabal-install-test-accept:
137-
@which cabal-plan
138136
rm -rf .ghc.environment.*
139-
cd cabal-testsuite && `cabal-plan list-bin cabal-tests` --with-cabal=`cabal-plan list-bin cabal` --hide-successes -j3 --accept ${TEST}
137+
cd cabal-testsuite && `cabal list-bin cabal-tests` --with-cabal=`cabal list-bin cabal` --hide-successes -j3 --accept ${TEST}
140138

141139
# Docker validation
142140

0 commit comments

Comments
 (0)