From 8cbfad7e20ac6ad5a07ff86fc09bd42cbeb6f65c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 6 May 2012 20:39:47 +0000 Subject: [PATCH] tools: allow auto build & test with older GHC versions --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9529bc3a1..6cb62af0f 100644 --- a/Makefile +++ b/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