Debian Codegraph @

rust/tools/el-build-and-test

raw
1 #!/usr/bin/env execlineb
2 # SPDX-FileCopyrightText: Peter Pentchev <[email protected]>
3 # SPDX-License-Identifier: BSD-2-Clause
4
5 elgetopt "c:"
6 importas -D "cargo" default_cargo CARGO
7 importas -D $default_cargo CARGO ELGETOPT_c
8 if {
9 $CARGO fmt --check
10 }
11 if {
12 $CARGO fc build
13 } if {
14 $CARGO doc --no-deps --all-features
15 } if {
16 $CARGO fc nextest run
17 } if {
18 cd ..
19 export TEST_PROG ./rust/target/debug/feature-check
20 prove t
21 } if {
22 tools/el-run-clippy -c $CARGO -n
23 } echo "Seems fine"