mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
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) $(BUILDFLAGS)
|
||||
|
||||
# force a full rebuild with normal optimisation
|
||||
rebuild: clean build
|
||||
|
||||
# build the fastest binary we can, as hledgeropt
|
||||
BUILDOPT=ghc --make hledger.hs -o hledgeropt -O2 -fvia-C
|
||||
buildopt:
|
||||
buildopt opt:
|
||||
$(BUILDOPT)
|
||||
|
||||
# recompile and run tests (or another command) whenever a module changes
|
||||
@ -21,6 +18,9 @@ CICMD=test
|
||||
continuous ci:
|
||||
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
|
||||
test:
|
||||
./hledger.hs test
|
||||
|
Loading…
Reference in New Issue
Block a user