From bed6f0ce017af357631318ae0dbe66f6dc91a538 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 27 Feb 2009 03:09:16 +0000 Subject: [PATCH] comments --- Makefile | 8 ++++---- hledger.hs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 58d3a44f2..21d736772 100644 --- a/Makefile +++ b/Makefile @@ -19,9 +19,9 @@ BUILDOPT=ghc --make hledger.hs -o hledgeropt -O2 -fvia-C buildopt opt: setversion $(BUILDOPT) $(BUILDFLAGS) -# recompile and run tests (or another command) whenever a module changes -# see http://searchpath.org , you may need the patched version from -# http://joyful.com/repos/searchpath +# "continuous integration" testing - recompile and run test (or any other +# command) whenever a module changes. sp is from searchpath.org , you +# might need the patched version from http://joyful.com/repos/searchpath CICMD=test continuous ci: setversion sp --no-exts --no-default-map -o hledger ghc --make hledger.hs $(BUILDFLAGS) --run $(CICMD) @@ -29,7 +29,7 @@ continuous ci: setversion # force a full rebuild with normal optimisation rebuild: clean build -# run code tests +# run tests without compiling, might be handy now and then test: ./hledger.hs test diff --git a/hledger.hs b/hledger.hs index 4bf10c395..5e80f727c 100644 --- a/hledger.hs +++ b/hledger.hs @@ -1,4 +1,4 @@ --- #!/usr/bin/env runhaskell +-- sp doesn't like.. #!/usr/bin/env runhaskell {-# OPTIONS_GHC -cpp #-} {-| hledger - a ledger-compatible text-based accounting tool.