9 lines
329 B
Bash
Executable file
9 lines
329 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Start test if one of the files was modified
|
|
cargo install cargo-watch
|
|
|
|
# Run the tests on change
|
|
# Set RUST_BACKTRACE to 1 to see a short backtrace in case of an error
|
|
# Set RUST_BACKTRACE to "full" to see a full backtrace in case of an error
|
|
RUST_BACKTRACE=0 cargo watch -x "test -- --nocapture --test-threads 1"
|