define BRANCH to silence undefined variable warning

This commit is contained in:
Benjamin Elder 2024-05-20 17:05:52 -07:00
parent 765e7ef0d2
commit 0973b4b6c4

View File

@ -33,10 +33,12 @@ endif
SHELL := /usr/bin/env bash -o errexit -o pipefail -o nounset
BASH_ENV := ./hack/lib/logging.sh
# Define variables so `make --warn-undefined-variables` works.
# Define optional user-input variables so `make --warn-undefined-variables` works.
# Usage is described below with each target that respects these
PRINT_HELP ?=
WHAT ?=
TESTS ?=
BRANCH ?=
# We don't need make's built-in rules.
MAKEFLAGS += --no-builtin-rules