@@ -64,7 +64,7 @@ $(TEMPLATE_PATHS) : templates/Paths_pkg.template.hs cabal-dev-scripts/src/GenPat
64
64
65
65
buildinfo-fields-reference : phony
66
66
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 $@
68
68
69
69
# analyse-imports
70
70
analyse-imports : phony
@@ -119,22 +119,24 @@ hackage-roundtrip-tests :
119
119
$(CABALRUN ) hackage-tests -- roundtrip +RTS -s -qg -I0 -A64M -N${THREADS} -RTS ${TEST}
120
120
121
121
cabal-install-test :
122
+ @which cabal-plan
122
123
$(CABALBUILD ) -j3 cabal-tests cabal
123
124
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}
125
126
126
127
# hackage-benchmarks (solver)
127
128
128
129
hackage-benchmarks-run :
129
130
$(CABALBUILD ) -j3 hackage-benchmark cabal
130
131
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
132
133
133
134
134
135
# This doesn't run build, as you first need to test with cabal-install-test :)
135
136
cabal-install-test-accept :
137
+ @which cabal-plan
136
138
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}
138
140
139
141
# Docker validation
140
142
0 commit comments