polish
This commit is contained in:
		
							parent
							
								
									410b759086
								
							
						
					
					
						commit
						f1e193aef1
					
				
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@ -68,6 +68,7 @@ buildprof prof: sampleledgers
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# run performance benchmarks and save results in profs
 | 
					# run performance benchmarks and save results in profs
 | 
				
			||||||
# executables to test, prepend ./ to these if not in $PATH
 | 
					# executables to test, prepend ./ to these if not in $PATH
 | 
				
			||||||
 | 
					# requires tabular from hackage
 | 
				
			||||||
BENCHEXES=hledger-0.3 hledger-0.4 ledger
 | 
					BENCHEXES=hledger-0.3 hledger-0.4 ledger
 | 
				
			||||||
bench: buildbench sampleledgers
 | 
					bench: buildbench sampleledgers
 | 
				
			||||||
	./bench $(BENCHEXES) --verbose | tee profs/`date +%Y%m%d%H%M%S`.bench
 | 
						./bench $(BENCHEXES) --verbose | tee profs/`date +%Y%m%d%H%M%S`.bench
 | 
				
			||||||
@ -80,8 +81,8 @@ buildbench:
 | 
				
			|||||||
# generate sample ledgers
 | 
					# generate sample ledgers
 | 
				
			||||||
sampleledgers:
 | 
					sampleledgers:
 | 
				
			||||||
	ghc -e 'putStr $$ unlines $$ replicate 1000 "!include sample.ledger"' >sample1000.ledger
 | 
						ghc -e 'putStr $$ unlines $$ replicate 1000 "!include sample.ledger"' >sample1000.ledger
 | 
				
			||||||
#	ghc -e 'putStr $$ unlines $$ replicate 10000 "!include sample.ledger"' >sample10000.ledger
 | 
						ghc -e 'putStr $$ unlines $$ replicate 10000 "!include sample.ledger"' >sample10000.ledger
 | 
				
			||||||
#	ghc -e 'putStr $$ unlines $$ replicate 100000 "!include sample.ledger"' >sample10000.ledger
 | 
						ghc -e 'putStr $$ unlines $$ replicate 100000 "!include sample.ledger"' >sample10000.ledger
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# send unpushed patches to the mail list
 | 
					# send unpushed patches to the mail list
 | 
				
			||||||
send:
 | 
					send:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										9
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								NEWS
									
									
									
									
									
								
							@ -1,10 +1,11 @@
 | 
				
			|||||||
NEWS
 | 
					NEWS
 | 
				
			||||||
----
 | 
					----
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2009/04/xx hledger 0.4 released
 | 
					2009/04/03 hledger 0.4 released
 | 
				
			||||||
...............................
 | 
					-------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Changes:
 | 
					Changes:
 | 
				
			||||||
 | 
					........
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * avoid bulky/non-portable dependencies by default, curses ui now requires a build flag (-f vty)
 | 
					  * avoid bulky/non-portable dependencies by default, curses ui now requires a build flag (-f vty)
 | 
				
			||||||
  * on MS windows, provide a simple ansi-based ui in place of vty (-f ansi)
 | 
					  * on MS windows, provide a simple ansi-based ui in place of vty (-f ansi)
 | 
				
			||||||
@ -40,12 +41,14 @@ Changes:
 | 
				
			|||||||
     -f sample10000.ledger balance ||       12.72 |       14.97 |       4.63
 | 
					     -f sample10000.ledger balance ||       12.72 |       14.97 |       4.63
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Contributors:
 | 
					Contributors:
 | 
				
			||||||
 | 
					.............
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * Simon Michael
 | 
					  * Simon Michael
 | 
				
			||||||
  * Tim Docker
 | 
					  * Tim Docker
 | 
				
			||||||
  * happstack and testpack developers
 | 
					  * happstack and testpack developers
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Stats:
 | 
					Stats:
 | 
				
			||||||
 | 
					......
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * Known errors: 0
 | 
					  * Known errors: 0
 | 
				
			||||||
  * Commits: 132
 | 
					  * Commits: 132
 | 
				
			||||||
@ -56,7 +59,7 @@ Stats:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2009/01/17 hledger 0.3 released
 | 
					2009/01/17 hledger 0.3 released
 | 
				
			||||||
...............................
 | 
					-------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Fixes:
 | 
					Fixes:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										3
									
								
								NOTES
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								NOTES
									
									
									
									
									
								
							@ -45,7 +45,8 @@ clever tricks like the plague." --Edsger Dijkstra
 | 
				
			|||||||
*** test all esoteric ledger file features
 | 
					*** test all esoteric ledger file features
 | 
				
			||||||
*** test reading from stdin
 | 
					*** test reading from stdin
 | 
				
			||||||
*** easy ledger compatibility testing
 | 
					*** easy ledger compatibility testing
 | 
				
			||||||
**** --compare to compare (xml?) output with ledger with same args
 | 
					**** run ledger 3 baseline tests
 | 
				
			||||||
 | 
					**** --compare (xml?) output with ledger's
 | 
				
			||||||
** docs
 | 
					** docs
 | 
				
			||||||
*** hledgerisms in file format - that hledger can read but ledger can't
 | 
					*** hledgerisms in file format - that hledger can read but ledger can't
 | 
				
			||||||
*** complete docs for smart dates, period expressions
 | 
					*** complete docs for smart dates, period expressions
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								README
									
									
									
									
									
								
							@ -1,5 +1,3 @@
 | 
				
			|||||||
hledger - a ledger-compatible text-based accounting tool
 | 
					 | 
				
			||||||
========================================================
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Welcome to hledger! 
 | 
					Welcome to hledger! 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -235,8 +235,8 @@ drilldown a
 | 
				
			|||||||
    | screen a == BalanceScreen  = enter RegisterScreen a{aargs=[currentAccountName a]}
 | 
					    | screen a == BalanceScreen  = enter RegisterScreen a{aargs=[currentAccountName a]}
 | 
				
			||||||
    | screen a == RegisterScreen = scrollToEntry e $ enter PrintScreen a
 | 
					    | screen a == RegisterScreen = scrollToEntry e $ enter PrintScreen a
 | 
				
			||||||
    | screen a == PrintScreen   = a
 | 
					    | screen a == PrintScreen   = a
 | 
				
			||||||
    -- | screen a == PrintScreen   = enter LedgerScreen a
 | 
					    -- screen a == PrintScreen   = enter LedgerScreen a
 | 
				
			||||||
    -- | screen a == LedgerScreen   = a
 | 
					    -- screen a == LedgerScreen   = a
 | 
				
			||||||
    where e = currentEntry a
 | 
					    where e = currentEntry a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- | Get the account name currently highlighted by the cursor on the
 | 
					-- | Get the account name currently highlighted by the cursor on the
 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# sample.ledger's entries replicated n times
 | 
					# sample.ledger's entries replicated n times
 | 
				
			||||||
-f sample1000.ledger balance
 | 
					-f sample1000.ledger balance
 | 
				
			||||||
-f sample10000.ledger balance
 | 
					#-f sample10000.ledger balance
 | 
				
			||||||
#-f sample100000.ledger balance
 | 
					#-f sample100000.ledger balance
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# the user's ledger, if any
 | 
					# the user's ledger, if any
 | 
				
			||||||
 | 
				
			|||||||
@ -3,10 +3,9 @@ Name:           hledger
 | 
				
			|||||||
Version:        0.4
 | 
					Version:        0.4
 | 
				
			||||||
Category:       Finance
 | 
					Category:       Finance
 | 
				
			||||||
Synopsis:       A ledger-compatible text-based accounting tool.
 | 
					Synopsis:       A ledger-compatible text-based accounting tool.
 | 
				
			||||||
Description:    hledger is a haskell clone of John Wiegley's "ledger" text-based
 | 
					Description:    hledger is a partial haskell clone of John Wiegley's "ledger" text-based
 | 
				
			||||||
                accounting tool (http://newartisans.com/software/ledger.html).  
 | 
					                accounting tool. It generates ledger-compatible register & balance reports
 | 
				
			||||||
                It generates ledger-compatible register & balance reports from a plain
 | 
					                from a plain text journal, and demonstrates a functional implementation of ledger.
 | 
				
			||||||
                text ledger file, and demonstrates a functional implementation of ledger.
 | 
					 | 
				
			||||||
License:        GPL
 | 
					License:        GPL
 | 
				
			||||||
Stability:      beta
 | 
					Stability:      beta
 | 
				
			||||||
Author:         Simon Michael <simon@joyful.com>
 | 
					Author:         Simon Michael <simon@joyful.com>
 | 
				
			||||||
 | 
				
			|||||||
@ -8,7 +8,7 @@ Released under GPL version 3 or later.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
hledger is a partial haskell clone of John Wiegley's "ledger" text-based
 | 
					hledger is a partial haskell clone of John Wiegley's "ledger" text-based
 | 
				
			||||||
accounting tool.  It generates ledger-compatible register & balance
 | 
					accounting tool.  It generates ledger-compatible register & balance
 | 
				
			||||||
reports from a plain text ledger file, and demonstrates a functional
 | 
					reports from a plain text journal, and demonstrates a functional
 | 
				
			||||||
implementation of ledger.  For more information, see ledger.org .
 | 
					implementation of ledger.  For more information, see ledger.org .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can use the command line:
 | 
					You can use the command line:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user