Skip to content

Commit 4d5e734

Browse files
authored
Merge pull request #40 from mulkieran/cargo-minimal-versions
Remove all verify-dependency-bounds associated targets
2 parents b6da089 + 5d38367 commit 4d5e734

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

Makefile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@ else
1414
CLIPPY_OPTS = --fix
1515
endif
1616

17+
ifeq ($(origin MINIMAL), undefined)
18+
BUILD = build
19+
else
20+
BUILD = minimal-versions build --direct
21+
endif
22+
1723
clippy:
1824
cargo clippy ${CLIPPY_OPTS}
1925

20-
SET_LOWER_BOUNDS ?=
21-
test-set-lower-bounds:
22-
echo "Testing that SET_LOWER_BOUNDS environment variable is set to a valid path"
23-
test -e "${SET_LOWER_BOUNDS}"
24-
25-
verify-dependency-bounds: test-set-lower-bounds
26-
cargo build ${MANIFEST_PATH_ARGS}
27-
${SET_LOWER_BOUNDS} ${MANIFEST_PATH_ARGS}
28-
cargo build ${MANIFEST_PATH_ARGS}
29-
3026
COMPARE_FEDORA_VERSIONS ?=
3127
test-compare-fedora-versions:
3228
echo "Testing that COMPARE_FEDORA_VERSIONS environment variable is set to a valid path"
@@ -47,7 +43,7 @@ audit:
4743
cargo audit -D warnings
4844

4945
build:
50-
cargo build
46+
cargo ${BUILD}
5147

5248
.PHONY:
5349
audit

0 commit comments

Comments
 (0)