mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;dev: make/shake/bake help titles
This commit is contained in:
parent
480872ce22
commit
a3c300b508
2
Makefile
2
Makefile
@ -43,7 +43,7 @@
|
||||
|
||||
# Some calls and dummy targets to augment the default help output.
|
||||
# Also, help-SUBSTR and SUBSTR-help targets to show only matching help.
|
||||
$(call def-help-heading,Main rules in the hledger project Makefile:)
|
||||
$(call def-help-heading,make: light project scripting (old). See also: ./bake; ./Shake.hs)
|
||||
$(call def-help-subheading,HELP:)
|
||||
dummy1: $(call def-help,[help], list documented rules in this makefile )
|
||||
help-%: $(call def-help,help-SECTION, list documented rules containing some string )
|
||||
|
2
Shake.hs
2
Shake.hs
@ -66,7 +66,7 @@ usage =
|
||||
let scriptname = "Shake" in replaceRe [re|/Shake|] ('/':scriptname) $
|
||||
unlines
|
||||
---------------------------------------79--------------------------------------
|
||||
["hledger developer scripts. See also: make help"
|
||||
["Shake: heavy project scripting. See also: make, ./bake"
|
||||
,"Usage:"
|
||||
,"./Shake.hs [CMD [ARGS]] run CMD, compiling this script first if needed"
|
||||
,"./Shake [CMD [ARGS]] run CMD, using the compiled version of this script"
|
||||
|
3
bake
3
bake
@ -7,7 +7,8 @@ set -e
|
||||
################################################################################
|
||||
usage() {
|
||||
cat <<EOF
|
||||
bake - misc project bash scripts, mainly releasing related. Cf Shake.hs, make
|
||||
bake - light-medium project scripting (new). See also: make, ./Shake.hs
|
||||
|
||||
Commands:
|
||||
./bake - show this help
|
||||
./bake relfiles - symlink important files temporarily in .relfiles/
|
||||
|
@ -1 +1,2 @@
|
||||
Tools and scripts used during development.
|
||||
See also Makefile, bake, Shake.hs in the parent directory.
|
||||
|
Loading…
Reference in New Issue
Block a user