Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2db87333d7 
							
						 
					 
					
						
						
							
							bin: switch scripts to "stack ghc" and "env -S" ( #1453 )  
						
						... 
						
						
						
						Using stack's script command meant that the scripts needed to be
compatible, and regularly tested, with a hledger release in stackage,
rather than the latest hledger source. This created hassles for
maintainers, contributors and sometimes for users.
To simplify things overall, we now require script users to check out
the hledger source tree and run the scripts (or, bin/compile.sh) from
there once so they compile themselves. Some notes on alternative
setups are included (in one of the scripts, and referenced by the
others). This ensures that users and our CI tests are building scripts
the same way.
Current stack does not allow a stack options line to be used with the
"stack ghc" command, unfortunately, so instead we are using env's -S
flag, which hopefully has sufficiently wide support by now, and
putting all arguments in the shebang line.
This method will probably require complete explicit --package options,
unlike "stack script", so more testing and tweaking is expected.
Probably we're going to end up with some long shebang lines.
This isn't pretty but seems like a possible way to keep things
manageable. 
						
					 
					
						2021-01-11 21:04:07 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							ef250e5673 
							
						 
					 
					
						
						
							
							bin: Update bin scripts for new API.  
						
						
						
					 
					
						2021-01-02 15:08:09 +11:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f8afb94d09 
							
						 
					 
					
						
						
							
							;bin: readme update  
						
						
						
					 
					
						2020-12-31 12:24:44 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							a64d1aa6d0 
							
						 
					 
					
						
						
							
							bin: Update bin scripts for current hledger-lib.  
						
						... 
						
						
						
						(cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7) 
						
					 
					
						2020-12-30 08:59:03 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							06b466d847 
							
						 
					 
					
						
						
							
							ci: also test compilation of bin/ add-on scripts  
						
						
						
					 
					
						2020-12-30 08:59:03 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d17d92b338 
							
						 
					 
					
						
						
							
							;stack, bin: bump all to lts-16.25  
						
						
						
					 
					
						2020-12-08 12:59:25 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7a692284a9 
							
						 
					 
					
						
						
							
							;doc: replace a few addon with add-on  
						
						
						
					 
					
						2020-12-08 09:27:36 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1b6f8e0b19 
							
						 
					 
					
						
						
							
							bin: rename hledger-check* per "How to check for errors"  
						
						
						
					 
					
						2020-11-27 12:29:54 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							18f8f91520 
							
						 
					 
					
						
						
							
							;more budget-related cleanup  
						
						
						
					 
					
						2020-11-18 16:29:04 -08:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							19ab222599 
							
						 
					 
					
						
						
							
							lib,cli: Remove old impure ReportOpts date functions.  
						
						
						
					 
					
						2020-10-23 14:14:11 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c2929939e4 
							
						 
					 
					
						
						
							
							make account type autodetection (& hledger-smooth) case insensitive again ( #1341 )  
						
						... 
						
						
						
						lib: added case-insensitive variants of the accountNameToRegex functions. 
						
					 
					
						2020-09-03 09:52:00 -07:00 
						 
				 
			
				
					
						
							
							
								Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							ba59fed6b2 
							
						 
					 
					
						
						
							
							lib: Replace more instances of fromIntegral with safer versions.  
						
						
						
					 
					
						2020-08-30 22:20:58 +10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7e26d6626c 
							
						 
					 
					
						
						
							
							;bin: warn about breakage here  
						
						
						
					 
					
						2020-08-20 11:20:13 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5405a63aad 
							
						 
					 
					
						
						
							
							;bin: print-location, smooth, swap-dates: update _FLAG marker  
						
						
						
					 
					
						2020-08-15 11:29:35 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8023d1e8d7 
							
						 
					 
					
						
						
							
							;bin: more scripts how-tos  
						
						
						
					 
					
						2020-08-15 10:52:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c7f1800185 
							
						 
					 
					
						
						
							
							;bin: update scripts readme  
						
						
						
					 
					
						2020-08-15 10:25:13 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							99789bd4de 
							
						 
					 
					
						
						
							
							bin: drop explicit --package options from stack scripts, not needed  
						
						... 
						
						
						
						If there are no --package options, stack's script command infers them
from the imports. 
						
					 
					
						2020-08-15 09:59:59 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							efa0d43910 
							
						 
					 
					
						
						
							
							bin: hledger-print-location example  
						
						
						
					 
					
						2020-08-15 09:56:53 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4747e2eacf 
							
						 
					 
					
						
						
							
							;bin: consistent use of stack script, package updates  
						
						
						
					 
					
						2020-08-15 09:51:59 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							431a502a0a 
							
						 
					 
					
						
						
							
							;bin: rename example cabal script  
						
						
						
					 
					
						2020-08-15 09:51:44 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7f8192ba75 
							
						 
					 
					
						
						
							
							bin: hledger-swap-dates: replace here with string-qq, as elsewhere  
						
						
						
					 
					
						2020-08-15 09:06:09 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e2bccf8645 
							
						 
					 
					
						
						
							
							;bin: better script install instructions  
						
						
						
					 
					
						2020-06-28 10:00:36 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							caa004889b 
							
						 
					 
					
						
						
							
							;bin: update stack url  
						
						
						
					 
					
						2020-06-28 09:55:24 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							88b03e73cd 
							
						 
					 
					
						
						
							
							;bin: better script install instructions  
						
						
						
					 
					
						2020-06-28 09:53:34 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ecbc9aa0cf 
							
						 
					 
					
						
						
							
							;bin: better script install instructions  
						
						
						
					 
					
						2020-06-28 09:52:51 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fea7a1faf4 
							
						 
					 
					
						
						
							
							bin: hledger-check: use stack script command  
						
						
						
					 
					
						2020-06-28 09:35:05 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Astapov 
							
						 
					 
					
						
						
						
						
							
						
						
							54300328cd 
							
						 
					 
					
						
						
							
							cli: ability to pass arguments to getHledgerCliOpts + two example scripts  
						
						
						
					 
					
						2020-05-27 04:58:57 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							90d4bb9c0f 
							
						 
					 
					
						
						
							
							;bin: hledger-check-tag-files: fix comments  
						
						
						
					 
					
						2020-03-27 17:22:56 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							53c08f45b2 
							
						 
					 
					
						
						
							
							;bin: hledger-check-tag-files: consistency  
						
						
						
					 
					
						2020-03-27 17:21:23 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b78b98e372 
							
						 
					 
					
						
						
							
							bin: hledger-check-tag-files2, a version using cabal's v2-run command  
						
						
						
					 
					
						2020-03-27 17:20:43 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a38694b247 
							
						 
					 
					
						
						
							
							bin: hledger-check-tag-files, a script using stack's script command  
						
						
						
					 
					
						2020-03-27 16:43:14 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							76776e28b2 
							
						 
					 
					
						
						
							
							;bin: smooth: link to  #1171  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-01-23 12:53:43 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							21fec478d4 
							
						 
					 
					
						
						
							
							;bin: smooth: note/warn about date-order requirement ( #1171 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-01-23 12:40:25 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4589ec51ba 
							
						 
					 
					
						
						
							
							;bin: smooth: fix Text "Empty stream" error ( #1171 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-01-23 12:22:24 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							82421d0eab 
							
						 
					 
					
						
						
							
							;bin: smooth: doesn't use hledger-lib  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-01-23 12:04:36 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							db74540280 
							
						 
					 
					
						
						
							
							;bin: smooth: here -> string-qq, save several minutes of build time  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-01-23 12:04:28 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8efae769c0 
							
						 
					 
					
						
						
							
							bin: smooth: update for current lib (RawOpts)  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2020-01-23 10:28:57 -08:00 
						 
				 
			
				
					
						
							
							
								Mykola Orliuk 
							
						 
					 
					
						
						
						
						
							
						
						
							ab9c150759 
							
						 
					 
					
						
						
							
							;lib: clean out showTransactionUnelided  
						
						... 
						
						
						
						Keep aliases until next major release. 
						
					 
					
						2019-11-16 12:53:07 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a5cae2a859 
							
						 
					 
					
						
						
							
							bin: check: fix weird hashbang error ( #1072 )  
						
						... 
						
						
						
						Hashbangs and CPP on mac don't mix well.
https://gitlab.haskell.org/ghc/ghc/issues/6132 
[ci skip] 
						
					 
					
						2019-07-17 00:01:10 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							45bb513eb8 
							
						 
					 
					
						
						
							
							bin: smooth, swap-dates: fix compile.sh warnings ( #1072 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-17 00:01:06 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							64d6878d6c 
							
						 
					 
					
						
						
							
							;bin: update readme ( #1072 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-16 23:41:36 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cb5334c8df 
							
						 
					 
					
						
						
							
							bin: hledger-smooth: update for latest hledger-lib ( #1072 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-16 23:36:37 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							acd6e5bfe3 
							
						 
					 
					
						
						
							
							bin: hledger-swap-dates: update for latest hledger-lib, finish ( #1072 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-16 23:31:45 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cfb32a89d6 
							
						 
					 
					
						
						
							
							bin: hledger-check: update for latest hledger-lib ( #1072 )  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-16 23:31:35 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8bdcd9b38c 
							
						 
					 
					
						
						
							
							bin: add hledger-swap-dates  
						
						
						
					 
					
						2019-07-16 05:19:52 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bc95f39757 
							
						 
					 
					
						
						
							
							;bin: update, markdownify readme  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-16 05:19:33 +01:00 
						 
				 
			
				
					
						
							
							
								Caleb Maclennan 
							
						 
					 
					
						
						
						
						
							
						
						
							11d9e5eb6a 
							
						 
					 
					
						
						
							
							code: Strip extraneous trailing whitespace from Haskell sources  
						
						
						
					 
					
						2019-07-15 16:40:49 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							aebd6c50d6 
							
						 
					 
					
						
						
							
							smooth: smoothes out irregular transactions (experimental addon)  
						
						
						
					 
					
						2018-07-16 23:36:06 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							b245ec7b3d 
							
						 
					 
					
						
						
							
							lib: remove the megaparsec compatability module  
						
						
						
					 
					
						2018-05-22 12:16:46 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4474e4bd43 
							
						 
					 
					
						
						
							
							bin: drop hledger-autosync symlink, it breaks make watch-*  
						
						
						
					 
					
						2018-05-17 19:00:09 -07:00