task.mk/docs/examples/check/check.mk

17 lines
306 B
Makefile
Raw Normal View History

2022-09-18 10:00:53 -05:00
## check | get user confirmation or exit
.PHONY: check
check:
$(call tconfirm,Would you like to proceed?)
@echo "you said yes!"
define USAGE
{a.$(HEADER_STYLE)}usage:{a.end}
make <recipe>
interactivity w/ task.mk\n
endef
.DEFUALT_GOAL = help
include $(shell git rev-parse --show-toplevel)/task.mk