Using "hledgerdev" was a hack to help ensure that tests used a fresh developer build by default. Now they specify "hledger" again, which fits better with stack. It's up to the tester to make sure the desired executable is first in PATH or specified with -w. (Note a couple of tests currently don't obey -w and will always run "hledger", see addons.test).
		
			
				
	
	
		
			16 lines
		
	
	
		
			469 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			469 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| hledger -f sample.journal balance --format="%30(account) %-.20(total)"
 | |
| >>>
 | |
|                         assets $-1
 | |
|                    bank:saving $1
 | |
|                           cash $-2
 | |
|                       expenses $2
 | |
|                           food $1
 | |
|                       supplies $1
 | |
|                         income $-2
 | |
|                          gifts $-1
 | |
|                         salary $-1
 | |
|              liabilities:debts $1
 | |
| --------------------
 | |
|                    0
 | |
| >>>= 0
 |