Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@bahmanm bahmanm released this 07 Feb 05:59

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-nonzero, echo This fails hard❗ && false)

some-target :
	@echo Must not reach here!

Shell:

$ make some-target
*** bmakelib.shell.error-if-nonzero: Command exited with non-zero value 1.  Stop

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0