Skip to content
Merged
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
18 changes: 7 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,15 @@ else
CLIPPY_OPTS = --fix
endif

ifeq ($(origin MINIMAL), undefined)
BUILD = build
else
BUILD = minimal-versions build --direct
endif

clippy:
cargo clippy ${CLIPPY_OPTS}

SET_LOWER_BOUNDS ?=
test-set-lower-bounds:
echo "Testing that SET_LOWER_BOUNDS environment variable is set to a valid path"
test -e "${SET_LOWER_BOUNDS}"

verify-dependency-bounds: test-set-lower-bounds
cargo build ${MANIFEST_PATH_ARGS}
${SET_LOWER_BOUNDS} ${MANIFEST_PATH_ARGS}
cargo build ${MANIFEST_PATH_ARGS}

COMPARE_FEDORA_VERSIONS ?=
test-compare-fedora-versions:
echo "Testing that COMPARE_FEDORA_VERSIONS environment variable is set to a valid path"
Expand All @@ -47,7 +43,7 @@ audit:
cargo audit -D warnings

build:
cargo build
cargo ${BUILD}

.PHONY:
audit
Expand Down
Loading