mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: allow auto build & test with older GHC versions
This commit is contained in:
parent
acc5139c54
commit
8cbfad7e20
5
Makefile
5
Makefile
@ -84,7 +84,8 @@ MACRELEASEBUILDFLAGS:=-DMAKE $(WARNINGS) $(INCLUDEPATHS) $(PREFERMACUSRLIBFLAGS)
|
||||
TIME:=$(shell date +"%Y%m%d%H%M")
|
||||
|
||||
# searchpath executable used for automatic recompilation, http://joyful.com/repos/searchpath
|
||||
AUTOBUILD=sp --no-exts --no-default-map ghc --make -O0 $(GHCMEMFLAGS)
|
||||
GHC=ghc-7.4.1
|
||||
AUTOBUILD=sp --no-exts --no-default-map $(GHC) --make -O0 $(GHCMEMFLAGS)
|
||||
|
||||
# file defining the current release version
|
||||
VERSIONFILE=VERSION
|
||||
@ -131,7 +132,7 @@ allcabal%:
|
||||
|
||||
# auto-recompile and run (something, eg --help or unit tests) whenever a module changes
|
||||
|
||||
auto: sp
|
||||
autotest auto: sp
|
||||
rm -f bin/hledger
|
||||
cd hledger; $(AUTOBUILD) $(MAIN) -o ../bin/hledger $(BUILDFLAGS) --run test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user