File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 14
14
CLIPPY_OPTS = --fix
15
15
endif
16
16
17
+ ifeq ($(origin MINIMAL ) , undefined)
18
+ BUILD = build
19
+ else
20
+ BUILD = minimal-versions build --direct
21
+ endif
22
+
17
23
clippy :
18
24
cargo clippy ${CLIPPY_OPTS}
19
25
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
-
30
26
COMPARE_FEDORA_VERSIONS ?=
31
27
test-compare-fedora-versions :
32
28
echo " Testing that COMPARE_FEDORA_VERSIONS environment variable is set to a valid path"
47
43
cargo audit -D warnings
48
44
49
45
build :
50
- cargo build
46
+ cargo ${BUILD}
51
47
52
48
.PHONY :
53
49
audit
You can’t perform that action at this time.
0 commit comments