add script to test that all examples compile

pull/21/head
Ondřej Hruška 4 years ago
parent 6b685dcaa3
commit 5686ad7bd3
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 11
      test_examples.sh

@ -0,0 +1,11 @@
#!/bin/bash
set -e
cargo build
for file in examples/*
do
echo "--- $file ---"
target/debug/launcher -P "$file"
done
Loading…
Cancel
Save