Commit Graph

295 Commits

Author SHA1 Message Date
Simon Michael
1d7fdd423d ;tools: Shake: fix partial warnings 2024-06-07 18:49:23 -07:00
Simon Michael
8e0326b521 ;tools: Shake cmddocs: ignore failures when running hledger -h
Eg if it's not yet built/buildable, carry on without updating the flag docs.
2024-06-07 18:46:58 -07:00
Simon Michael
91d5308783 ;tools: Shake cmdhelp -> cmddocs, now runs hledger to update flag docs
Now, updating a command's docs (for hledger manual and for --help) requires
running the command (with stack exec -- hledger). The sequence is now
a bit recursive:

1. Run hledger CMD -h to update CMD.md with the latest cmdargs help output for CMD's flags.
   CMD.md is included in the hledger manual, when rendering that.
2. Convert CMD.md to CMD.txt, with pandoc.
3. Build hledger, embedding CMD.txt for cmdargs to use as -h output.

This need only be done after changing command docs or flags, and
hopefully won't be a hassle. Shake cmddocs now shows progress output
to make things clearer.
2024-06-07 14:35:31 -07:00
Simon Michael
9a7ba1ecab ;tools: Shake cmdhelp: simplify commit message 2024-06-07 06:49:43 -07:00
Simon Michael
9726aa3f5f ;pkg: stack: bump to latest nightly 2024-05-01 20:46:06 -10:00
Simon Michael
ee3d2c0e38 ;pkg: stack: bump to latest nightly, drop vty-windows extra-dep 2024-04-22 22:03:54 -10:00
Simon Michael
8e0adec126 pkg:stack: bump dev build to latest/ghc 9.8.2 2024-04-07 23:47:27 -10:00
Simon Michael
98a93d979a ;pkg:stack: bump to latest nightly & ghc 9.8.2 2024-03-17 10:54:02 -10:00
Simon Michael
ee0c36dfde ;tools: bump snapshot/ghc versions 2024-03-02 10:06:35 -10:00
Simon Michael
36e1380674 ;tools: just, make, shake: cleanup 2023-12-09 00:20:57 -10:00
Simon Michael
f7262ae4e8 dev:stack: bump default GHC to 9.6.3 2023-10-15 13:56:47 +01:00
Simon Michael
e3bf66755a ;pkg:stack: bump stackage snapshots 2023-07-01 08:14:23 -10:00
Simon Michael
4804e1be6d ;dev: bump to latest stackage nightly 2023-06-20 19:37:41 -10:00
Simon Michael
a3c300b508 ;dev: make/shake/bake help titles 2023-06-14 23:54:29 -10:00
Simon Michael
480872ce22 ;dev:Shake: avoid making empty commits 2023-06-14 22:45:40 -10:00
Simon Michael
438891b2c5 ;dev: stack: bump to nightly-2023-05-31 2023-05-31 18:57:30 -10:00
Simon Michael
5fa5e3f0f0 ;dev: stack: bump to ghc 9.4.5 2023-05-03 19:18:35 -10:00
Simon Michael
74a794a05f ;doc: BACKLOG: switch to markdown 2023-04-13 06:44:06 -10:00
Simon Michael
66e658f593 ;doc: ROADMAP: switch to markdown 2023-04-13 06:26:25 -10:00
Simon Michael
270a92292f fix: Shake: adapt to texinfo 7, fixing info manual generation (#2023) 2023-04-06 14:12:53 -10:00
Simon Michael
12247c8767 ;dev: shake cmdhelp: simplify commit message 2023-03-16 23:20:14 -10:00
Simon Michael
c2e7cc5700 pkg: update stackage resolvers, extra deps 2023-03-10 18:58:22 -10:00
Simon Michael
d98dfedb9e ;dev: shake: cmdhelp: tweak commit message 2023-02-20 16:24:54 -10:00
Simon Michael
5dee1fe78c ;doc: move most dev docs to doc/ 2022-12-04 11:22:05 -08:00
Simon Michael
ba773e3fe9 dev: bump to stackage lts-20.1 2022-11-25 23:44:46 -05:00
Simon Michael
3cda526c5a stack: bump to 2022-09-01 resolver 2022-09-01 15:30:33 -07:00
Simon Michael
950c85cad7 dev: bump to latest stackage, ghc 9.2.4 2022-08-07 19:11:17 +01:00
Simon Michael
3070ba9b36 dev: stack: bump to latest nightly 2022-07-10 22:05:14 +01:00
Simon Michael
e9292dc3fb shake: fix page TOC rendering (with mdbook-toc 0.8+ ?) 2022-06-20 13:00:02 +01:00
Simon Michael
9acbbed4fe pkg: stack, shake, install: bump to ghc 9.2.3 2022-06-09 11:34:47 +01:00
Simon Michael
79d3ecfc90 ;pkg: stack: bump to latest nightly snapshot 2022-06-06 12:20:31 +01:00
Simon Michael
07629c803a stack: bump stack & shake to latest nightly 2022-04-15 15:07:17 -10:00
Simon Michael
b5bb3b4d03 pkg: bump to stackage nightly-2022-03-03 2022-03-04 15:38:57 -10:00
Simon Michael
443e49214d tools: shake: sync with stack.yaml 2022-02-05 07:28:59 -10:00
Simon Michael
09009cbb1c ;tools: bump resolver in more places 2021-12-16 13:34:59 -10:00
Simon Michael
3027d36ebb ;doc: orgfiles: disable smart dashes in another way
Use an org export setting in BACKLOG.org and ROADMAP.org to disable
-- being converted to dashes. Leave the markdown+smart workaround
in Shake.hs also, it's doing no harm and seems useful as backup.

':nil would disable smart quotes as well, but that seems to be org's
default.
2021-09-27 12:15:09 -10:00
Simon Michael
030b1f5d00 ;doc: BACKLOG, ROADMAP: improve page TOC 2021-09-27 11:49:52 -10:00
Simon Michael
049855de4c ;shake: orgfiles: fix unwanted smart typography (BACKLOG, ROADMAP)
And document pandoc issues.
2021-09-26 09:57:35 -10:00
Simon Michael
c89289260f ;shake: try -smart to fix em-dashes in org files, probably no use
And some notes.
2021-09-25 13:13:00 -10:00
Simon Michael
e386576255 ;tools: Shake: add "orgfiles" for -VVV, fix their deps 2021-09-19 08:04:38 -10:00
Simon Michael
4a460ae3e1 ;imp: doc: public BACKLOG.org 2021-09-19 07:35:45 -10:00
Simon Michael
87b532b43d ;imp: tools: ./Shake site builds the website 2021-09-19 06:59:51 -10:00
Simon Michael
b19b1de0cb ;imp: doc: orgify ROADMAP 3: generate .ROADMAP.md for site 2021-09-19 06:58:16 -10:00
Stephen Morgan
8bf7c95697 cln: hlint: Clean up Functor related hlint warnings, and NOINLINE warning. 2021-08-27 06:13:56 -10:00
Stephen Morgan
beecb3c9ac cln: hlint: Clean up list related hlint warnings. 2021-08-27 06:13:56 -10:00
Stephen Morgan
e13239386f cln: hlint: Clean up == and elem related hlint warnings. 2021-08-27 06:13:56 -10:00
Stephen Morgan
7edcbe4be8 cln: hlint: Remove rendundant guard warnings. 2021-08-26 07:23:11 -10:00
Simon Michael
d716aaa5a8 shake: changelogs: don't get confused by an all-digit commit hash
Fixes spurious "can't list changes" warning.
2021-08-03 09:51:38 -10:00
Simon Michael
7673778022 ;shake: cabalfiles: use (and require) hpack, to avoid building
hpack should be in $PATH, and it should be the version that's in
the current stack release, to avoid commit conflicts.
2021-08-03 08:56:38 -10:00
Simon Michael
ff76db9fb2 ;shake: cabalfiles: cleanups, build fast and show progress 2021-08-03 08:28:36 -10:00