Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
# limitations under the License.

# Version and build configuration variables
BUILD_CONFIGURATION ?= debug
# Defaults to a release build (for both binaries and tests). This is a plain
# assignment, so it deliberately IGNORES any BUILD_CONFIGURATION set in the
# environment (e.g. the value CI exports via $GITHUB_ENV). To force a debug
# build, pass it on the command line: `make BUILD_CONFIGURATION=debug ...`
# (command-line assignments still override this).
BUILD_CONFIGURATION := release
WARNINGS_AS_ERRORS ?= true
SWIFT_CONFIGURATION := $(if $(filter-out false,$(WARNINGS_AS_ERRORS)),-Xswiftc -warnings-as-errors)
export RELEASE_VERSION ?= $(shell git describe --tags --always)
Expand Down
Loading