devel: add v1- prefix to each cabal calls.

This commit is contained in:
Kei Hibino 2020-03-15 17:44:58 +09:00
parent 9308388096
commit 867684d3af

View File

@ -7,17 +7,17 @@ ncpu = $(shell cat /proc/cpuinfo | egrep '^processor' | wc -l)
jobs = --jobs=$(shell expr $(ncpu) '*' 3 '/' 4) jobs = --jobs=$(shell expr $(ncpu) '*' 3 '/' 4)
build: build:
cabal configure -O0 --enable-tests cabal v1-configure -O0 --enable-tests
cabal build $(jobs) --ghc-option=-Wall cabal v1-build $(jobs) --ghc-option=-Wall
cabal haddock $(haddock_opt) cabal v1-haddock $(haddock_opt)
cabal test cabal v1-test
haddock: haddock:
cabal configure cabal v1-configure
cabal haddock $(haddock_opt) cabal v1-haddock $(haddock_opt)
check: check:
cabal check cabal v1-check
wc: wc:
make clean-hs make clean-hs
@ -25,7 +25,7 @@ wc:
clean: clean:
make clean-hs make clean-hs
cabal clean cabal v1-clean
[ ! -d .debian-build ] || rm -r .debian-build [ ! -d .debian-build ] || rm -r .debian-build
[ ! -d .stack-work ] || rm -r .stack-work [ ! -d .stack-work ] || rm -r .stack-work
test ! -d src || find src \( -name '*.o' -o -name '*.hi' -o -name '*.dyn_o' -o -name '*.dyn_hi' \) -exec rm {} \; test ! -d src || find src \( -name '*.o' -o -name '*.hi' -o -name '*.dyn_o' -o -name '*.dyn_hi' \) -exec rm {} \;