Makefile VS Justfile
Interesting example from justfile documentation: where it create mktemp and set it in variable then by concatenation you get a full path to the tar.gz. Then the Recipe “publish” create the artifact again and push it to a server. tmpdir := `mktemp` # Create a tmp file version := "0.2.7" tardir := tmpdir /...
Shell Variable $$var $$( python -c ‘import sys; print(sys.implementation.name)’ ) Make Variable T ?= foo # give a default value T := $(shell whoami) # execute shell immediately to put in the var PHONY to execute several makefile Example 1 SUBDIRS = foo bar baz ## dir is a Shell variables ## SUBDIR and MAKE are...