Update test_example.sh

- Remove BOM
- Fix shebang
- Do not run `cargo check` in parallel
  - `rustc` is good at utilizating cores by default
  - running `cargo check` in parallel messes up the output
This commit is contained in:
Maybe Waffle 2022-01-12 14:01:07 +03:00
parent d5392fddab
commit 98855ecebe

4
examples/test_examples.sh Normal file → Executable file
View file

@ -1,9 +1,9 @@
##!/bin/sh
#!/bin/sh
for example in */; do
echo Testing $example...
cd $example
cargo check &
cargo check
cd ..
done