comments
This commit is contained in:
parent
3bc2d903b2
commit
bed6f0ce01
8
Makefile
8
Makefile
@ -19,9 +19,9 @@ BUILDOPT=ghc --make hledger.hs -o hledgeropt -O2 -fvia-C
|
|||||||
buildopt opt: setversion
|
buildopt opt: setversion
|
||||||
$(BUILDOPT) $(BUILDFLAGS)
|
$(BUILDOPT) $(BUILDFLAGS)
|
||||||
|
|
||||||
# recompile and run tests (or another command) whenever a module changes
|
# "continuous integration" testing - recompile and run test (or any other
|
||||||
# see http://searchpath.org , you may need the patched version from
|
# command) whenever a module changes. sp is from searchpath.org , you
|
||||||
# http://joyful.com/repos/searchpath
|
# might need the patched version from http://joyful.com/repos/searchpath
|
||||||
CICMD=test
|
CICMD=test
|
||||||
continuous ci: setversion
|
continuous ci: setversion
|
||||||
sp --no-exts --no-default-map -o hledger ghc --make hledger.hs $(BUILDFLAGS) --run $(CICMD)
|
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
|
# force a full rebuild with normal optimisation
|
||||||
rebuild: clean build
|
rebuild: clean build
|
||||||
|
|
||||||
# run code tests
|
# run tests without compiling, might be handy now and then
|
||||||
test:
|
test:
|
||||||
./hledger.hs test
|
./hledger.hs test
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
-- #!/usr/bin/env runhaskell
|
-- sp doesn't like.. #!/usr/bin/env runhaskell
|
||||||
{-# OPTIONS_GHC -cpp #-}
|
{-# OPTIONS_GHC -cpp #-}
|
||||||
{-|
|
{-|
|
||||||
hledger - a ledger-compatible text-based accounting tool.
|
hledger - a ledger-compatible text-based accounting tool.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user