;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.
|
# Some calls and dummy targets to augment the default help output.
|
||||||
# Also, help-SUBSTR and SUBSTR-help targets to show only matching help.
|
# 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:)
|
$(call def-help-subheading,HELP:)
|
||||||
dummy1: $(call def-help,[help], list documented rules in this makefile )
|
dummy1: $(call def-help,[help], list documented rules in this makefile )
|
||||||
help-%: $(call def-help,help-SECTION, list documented rules containing some string )
|
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) $
|
let scriptname = "Shake" in replaceRe [re|/Shake|] ('/':scriptname) $
|
||||||
unlines
|
unlines
|
||||||
---------------------------------------79--------------------------------------
|
---------------------------------------79--------------------------------------
|
||||||
["hledger developer scripts. See also: make help"
|
["Shake: heavy project scripting. See also: make, ./bake"
|
||||||
,"Usage:"
|
,"Usage:"
|
||||||
,"./Shake.hs [CMD [ARGS]] run CMD, compiling this script first if needed"
|
,"./Shake.hs [CMD [ARGS]] run CMD, compiling this script first if needed"
|
||||||
,"./Shake [CMD [ARGS]] run CMD, using the compiled version of this script"
|
,"./Shake [CMD [ARGS]] run CMD, using the compiled version of this script"
|
||||||
|
|||||||
3
bake
3
bake
@ -7,7 +7,8 @@ set -e
|
|||||||
################################################################################
|
################################################################################
|
||||||
usage() {
|
usage() {
|
||||||
cat <<EOF
|
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:
|
Commands:
|
||||||
./bake - show this help
|
./bake - show this help
|
||||||
./bake relfiles - symlink important files temporarily in .relfiles/
|
./bake relfiles - symlink important files temporarily in .relfiles/
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
Tools and scripts used during development.
|
Tools and scripts used during development.
|
||||||
|
See also Makefile, bake, Shake.hs in the parent directory.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user