mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
better regression testing
This commit is contained in:
parent
e08b2c1ea6
commit
06b376385b
15
Makefile
15
Makefile
@ -23,22 +23,15 @@ xprofile: build
|
||||
mv hledger.prof profs/$(TIME).xprof
|
||||
ghcprof profs/$(TIME).xprof
|
||||
|
||||
#LEDGER=test.dat
|
||||
compare: build
|
||||
rm -f 1 2
|
||||
ledger -s balance >1
|
||||
ledger register >>1
|
||||
ledger print >>1
|
||||
./hledger -s balance >2
|
||||
./hledger register >>2
|
||||
./hledger print >>2
|
||||
diff 1 2
|
||||
test:
|
||||
@./hledger.hs test
|
||||
@./regtest.py
|
||||
|
||||
haddock:
|
||||
haddock -h -o doc *.hs
|
||||
|
||||
overview:
|
||||
@./overview.hs Types.hs | tee OVERVIEW
|
||||
@./overview.hs Types.hs >OVERVIEW
|
||||
|
||||
loc:
|
||||
@darcs trackdown 'find . -name "*hs" |xargs wc -l |echo OUTPUT `tail -1`; false' |ruby -nae'puts $$F[1] if /^OUTPUT/'
|
||||
|
Loading…
Reference in New Issue
Block a user