mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 01:50:44 -06:00
docs: add reference to default shell requirements
This commit is contained in:
parent
c85f5f8103
commit
e608a90b5a
3 changed files with 6 additions and 10 deletions
|
@ -24,7 +24,7 @@ Current Features:
|
||||||
- custom print function
|
- custom print function
|
||||||
- confirmation prompt
|
- confirmation prompt
|
||||||
|
|
||||||
Depends on `GNU Make`, obviously and `Python >=3.7`.
|
Depends on `GNU Make`, obviously and `Python >=3.7`, and `bash` (or `zsh`).
|
||||||
|
|
||||||
Wait python?!?!, I'm not `pip` installing some package just to parse my makefile.
|
Wait python?!?!, I'm not `pip` installing some package just to parse my makefile.
|
||||||
I agree, all you need is one file [`.task.mk`](./task.mk).
|
I agree, all you need is one file [`.task.mk`](./task.mk).
|
||||||
|
|
|
@ -20,7 +20,7 @@ Current Features:
|
||||||
- custom print function
|
- custom print function
|
||||||
- confirmation prompt
|
- confirmation prompt
|
||||||
|
|
||||||
Depends on `GNU Make`, obviously and `Python >=3.7`.
|
Depends on `GNU Make`, obviously and `Python >=3.7`, and `bash` (or `zsh`).
|
||||||
|
|
||||||
Wait python?!?!, I'm not `pip` installing some package just to parse my makefile.
|
Wait python?!?!, I'm not `pip` installing some package just to parse my makefile.
|
||||||
I agree, all you need is one file [`.task.mk`](https://github.com/daylinmorgan/task.mk/v22.9.19/task.mk).
|
I agree, all you need is one file [`.task.mk`](https://github.com/daylinmorgan/task.mk/v22.9.19/task.mk).
|
||||||
|
|
|
@ -56,23 +56,19 @@ See this project's `make info` for an example.
|
||||||
You can quickly customize some of the default behavior of `task.mk` by overriding the below variables prior to the `-include .task.mk`.
|
You can quickly customize some of the default behavior of `task.mk` by overriding the below variables prior to the `-include .task.mk`.
|
||||||
|
|
||||||
```make
|
```make
|
||||||
# ---- CONFIG ---- #
|
# ---- [config] ---- #
|
||||||
HEADER_STYLE ?= b_cyan
|
HEADER_STYLE ?= b_cyan
|
||||||
PARAMS_STYLE ?= b_magenta
|
|
||||||
ACCENT_STYLE ?= b_yellow
|
ACCENT_STYLE ?= b_yellow
|
||||||
|
PARAMS_STYLE ?= $(ACCENT_STYLE)
|
||||||
GOAL_STYLE ?= $(ACCENT_STYLE)
|
GOAL_STYLE ?= $(ACCENT_STYLE)
|
||||||
MSG_STYLE ?= faint
|
MSG_STYLE ?= faint
|
||||||
DIVIDER_STYLE ?= default
|
DIVIDER_STYLE ?= default
|
||||||
DIVIDER ?= ─
|
DIVIDER ?= ─
|
||||||
HELP_SEP ?= │
|
HELP_SEP ?= │
|
||||||
|
|
||||||
# python f-string literals
|
# python f-string literals
|
||||||
EPILOG ?=
|
EPILOG ?=
|
||||||
define USAGE ?=
|
USAGE ?={ansi.$(HEADER_STYLE)}usage{ansi.end}:\n make <recipe>\n
|
||||||
{ansi.$(HEADER_STYLE)}usage{ansi.end}:
|
INHERIT_SHELL ?=
|
||||||
make <recipe>
|
|
||||||
|
|
||||||
endef
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To use a custom color for one of the predefined configuration variables specify only the custom method.
|
To use a custom color for one of the predefined configuration variables specify only the custom method.
|
||||||
|
|
Loading…
Reference in a new issue