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.
You must log in or register to comment.

