make commands
10 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 10 shown
-
make buildExecute the 'build' target in the current Makefile
-
make -n deployPrint what would be executed without running it
-
make IMAGE=myapp:v2 TAG=latest pushOverride Makefile variables at call time
-
make -j4 testRun up to 4 recipe lines in parallel
-
grep -E '^[a-zA-Z_-]+:.*?##' Makefile | awk -F':.*##' '{printf "%-20s %s\n", $1, $2}'Convention: annotate targets with ## comments for self-documenting Makefiles
-
make -B buildUnconditionally remake all targets (-B / --always-make)
-
make -f infra/Makefile planUse a Makefile in a different directory or with a different name
-
.PHONY: build test deploy cleanPrevent make from confusing targets with files of the same name
-
build: docker build -t $(IMAGE) . && echo 'Built $@'$@ expands to the current target name in a recipe
-
include mk/*.mkSplit a large Makefile into modular includes
no commands match — try a different search