make tweaks
This commit is contained in:
parent
4ebc42dde3
commit
195fc13fcf
8
Makefile
8
Makefile
@ -6,12 +6,9 @@ BUILDFLAGS=-DVTY
|
|||||||
build: setbuildversion tag
|
build: setbuildversion tag
|
||||||
$(BUILD) $(BUILDFLAGS)
|
$(BUILD) $(BUILDFLAGS)
|
||||||
|
|
||||||
# force a full rebuild with normal optimisation
|
|
||||||
rebuild: clean build
|
|
||||||
|
|
||||||
# build the fastest binary we can, as hledgeropt
|
# build the fastest binary we can, as hledgeropt
|
||||||
BUILDOPT=ghc --make hledger.hs -o hledgeropt -O2 -fvia-C
|
BUILDOPT=ghc --make hledger.hs -o hledgeropt -O2 -fvia-C
|
||||||
buildopt:
|
buildopt opt:
|
||||||
$(BUILDOPT)
|
$(BUILDOPT)
|
||||||
|
|
||||||
# recompile and run tests (or another command) whenever a module changes
|
# recompile and run tests (or another command) whenever a module changes
|
||||||
@ -21,6 +18,9 @@ CICMD=test
|
|||||||
continuous ci:
|
continuous ci:
|
||||||
sp --no-exts --no-default-map -o hledger ghc --make hledger.hs $(BUILDFLAGS) --run $(CICMD)
|
sp --no-exts --no-default-map -o hledger ghc --make hledger.hs $(BUILDFLAGS) --run $(CICMD)
|
||||||
|
|
||||||
|
# force a full rebuild with normal optimisation
|
||||||
|
rebuild: clean build
|
||||||
|
|
||||||
# run code tests
|
# run code tests
|
||||||
test:
|
test:
|
||||||
./hledger.hs test
|
./hledger.hs test
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user