mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-25 08:19:14 +03:00
devel: add v1- prefix to each cabal calls.
This commit is contained in:
parent
9308388096
commit
867684d3af
@ -7,17 +7,17 @@ ncpu = $(shell cat /proc/cpuinfo | egrep '^processor' | wc -l)
|
||||
jobs = --jobs=$(shell expr $(ncpu) '*' 3 '/' 4)
|
||||
|
||||
build:
|
||||
cabal configure -O0 --enable-tests
|
||||
cabal build $(jobs) --ghc-option=-Wall
|
||||
cabal haddock $(haddock_opt)
|
||||
cabal test
|
||||
cabal v1-configure -O0 --enable-tests
|
||||
cabal v1-build $(jobs) --ghc-option=-Wall
|
||||
cabal v1-haddock $(haddock_opt)
|
||||
cabal v1-test
|
||||
|
||||
haddock:
|
||||
cabal configure
|
||||
cabal haddock $(haddock_opt)
|
||||
cabal v1-configure
|
||||
cabal v1-haddock $(haddock_opt)
|
||||
|
||||
check:
|
||||
cabal check
|
||||
cabal v1-check
|
||||
|
||||
wc:
|
||||
make clean-hs
|
||||
@ -25,7 +25,7 @@ wc:
|
||||
|
||||
clean:
|
||||
make clean-hs
|
||||
cabal clean
|
||||
cabal v1-clean
|
||||
[ ! -d .debian-build ] || rm -r .debian-build
|
||||
[ ! -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 {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user