Script that CI should use to run tests

This commit is contained in:
Devon Mackay 2018-07-01 19:18:38 -04:00
parent 50e6136bf3
commit cbe4038a79

12
script/cibuild Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# script/cibuild: Run CI related checks and tests
# If a command fails, exit the script
set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Run lint/style checks and unit tests
script/test