From 726594f09a3367916d4257dec4a319b57cf8faec Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 17 Oct 2008 16:59:05 +0000 Subject: [PATCH] "make continuous" recompiles and runs whenever a module changes. you rock happs guys. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6ff789a83..1bca03148 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,10 @@ build: tag buildopt opt: clean $(BUILDOPT) +# build and run whenever a module changes, see http://searchpath.org +continuous: + sp -o hledger ghc --make hledger.hs --run + profile: build $(PROFILE) mv hledger.prof profs/$(TIME).prof