[ANN] bmakelib v0.7.0
[ANN] bmakelib v0.7.0
github.com Release v0.7.0 · bahmanm/bmakelib
The highlight is the introduction of fail-fast alternative to $(shell) which relieves you from checking .SHELLSTATUS every time $(shell) is used. Makefile: VAR1 := $(call bmakelib.shell.error-if-no...
bmakelib v0.7.0 has just been released.
The highlight is the fail-fast alternative to $(shell)
which relieves you from checking .SHELLSTATUS
every time $(shell)
is used.
Makefile:
include bmakelib/bmakelib.mk
VAR1 := $(call bmakelib.shell.error-if-nonzero,\
echo Fails hard❗ && false)
unreachable-target :
Shell:
$ make unreachable-target
Makefile:3: *** shell.error-if-nonzero: Command exited with non-zero value 1. Stop.
0 comments