-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# always change into the directory of the script so that it doesn't | ||
# matter for where the script is called | ||
cd "$( dirname "${BASH_SOURCE[0]}" )" | ||
|
||
if nimble build; then | ||
fails = "" | ||
# run all executables in the examples folder | ||
for example in $(find ./examples/ -executable); do | ||
# log if an executable failed | ||
$example || fails = "$fails $example" | ||
done | ||
echo "failed tests:" | ||
echo $fails | ||
else | ||
echo "build failed" | ||
fi |
This file was deleted.
Oops, something went wrong.