Skip to content

Commit cb98024

Browse files
authored
Merge pull request #7675 from haskell/revert-7648-remove-cabal-plan-from-makefile
Revert "Change cabal-plan list-bin to cabal list-bin in Makefile"
2 parents 3b7655f + 5ae373b commit cb98024

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Makefile

Lines changed: 6 additions & 4 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 list-bin --builddir=dist-newstyle-bi buildinfo-reference-generator) buildinfo-reference-generator/template.zinza | tee $@
67+
$$(cabal-plan list-bin --builddir=dist-newstyle-bi buildinfo-reference-generator) buildinfo-reference-generator/template.zinza | tee $@
6868

6969
# analyse-imports
7070
analyse-imports : phony
@@ -119,22 +119,24 @@ 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
122123
$(CABALBUILD) -j3 cabal-tests cabal
123124
rm -rf .ghc.environment.*
124-
cd cabal-testsuite && `cabal list-bin cabal-tests` --with-cabal=`cabal list-bin cabal` --hide-successes -j3 ${TEST}
125+
cd cabal-testsuite && `cabal-plan list-bin cabal-tests` --with-cabal=`cabal-plan list-bin cabal` --hide-successes -j3 ${TEST}
125126

126127
# hackage-benchmarks (solver)
127128

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

133134

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

139141
# Docker validation
140142

0 commit comments

Comments
 (0)