Add linting steps and improve testing steps

This commit is contained in:
Asher
2020-02-04 15:00:44 -06:00
parent b29346ecdf
commit b30aefcfb1
7 changed files with 175 additions and 87 deletions

View File

@ -3,6 +3,7 @@
set -euo pipefail
# This script assumes that yarn has already ran.
function main() {
cd "$(dirname "${0}")/.."
@ -21,10 +22,6 @@ function main() {
export PACKAGE="true"
fi
if [[ -z ${SKIP_YARN:-} ]] ; then
yarn
fi
yarn build
yarn binary
if [[ -n ${PACKAGE:-} ]] ; then