File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 CLIPPY_OPTS = --fix
1515endif
1616
17+ ifeq ($(origin MINIMAL ) , undefined)
18+ BUILD = build
19+ else
20+ BUILD = minimal-versions build --direct
21+ endif
22+
1723clippy :
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-
3026COMPARE_FEDORA_VERSIONS ?=
3127test-compare-fedora-versions :
3228 echo " Testing that COMPARE_FEDORA_VERSIONS environment variable is set to a valid path"
4743 cargo audit -D warnings
4844
4945build :
50- cargo build
46+ cargo ${BUILD}
5147
5248.PHONY :
5349 audit
You can’t perform that action at this time.
0 commit comments