This commit is contained in:
Simon Michael 2009-02-27 03:09:16 +00:00
parent 3bc2d903b2
commit bed6f0ce01
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.