We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eval
1 parent 2e7843b commit 20e48daCopy full SHA for 20e48da
test.sh
@@ -26,13 +26,9 @@ run_if() (
26
)
27
28
unit() (
29
- build_flags=()
30
- test_flags=()
31
- eval "build_flags+=(${BUILD_FLAGS:-})"
32
- eval "test_flags+=(${TEST_FLAGS:-})"
33
- run_if "${LINT:-true}" cargo clippy "$@" -- -D warnings
34
- run_if "${BUILD:-true}" cargo build "${build_flags[@]}" "$@"
35
- run_if "${TEST:-true}" cargo test "${test_flags[@]}" "$@"
+ eval run_if "${LINT:-true}" cargo clippy "$@" -- -D warnings
+ eval run_if "${BUILD:-true}" cargo build "${BUILD_FLAGS:-}" "$@"
+ eval run_if "${TEST:-true}" cargo test "${TEST_FLAGS:-}" "$@"
36
37
38
run_if "${FMT:-true}" cargo fmt
0 commit comments