;tools: shake cmddocs -c: also commit COMMAND.md files
This commit is contained in:
parent
2c7c2c6d05
commit
a5fb7d639e
2
Shake.hs
2
Shake.hs
@ -602,7 +602,7 @@ main = do
|
|||||||
-- need ["build"] -- XXX circular dep, how would this work ?
|
-- need ["build"] -- XXX circular dep, how would this work ?
|
||||||
liftIO $ putStrLn "please ensure the hledger build is up to date" -- XXX never printed, why ?
|
liftIO $ putStrLn "please ensure the hledger build is up to date" -- XXX never printed, why ?
|
||||||
need commandtxts
|
need commandtxts
|
||||||
when commit $ commitIfChanged ";doc: update help" commandtxts
|
when commit $ commitIfChanged ";doc: update help" $ commandmds <> commandtxts
|
||||||
|
|
||||||
-- -- Update each Hledger/Cli/Commands/*.md, replacing the flags block with latest --help output,
|
-- -- Update each Hledger/Cli/Commands/*.md, replacing the flags block with latest --help output,
|
||||||
-- -- or a placeholder if there are no command-specific flags.
|
-- -- or a placeholder if there are no command-specific flags.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user