Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -eufo pipefail
- if [ -n "$(git status -z)" ]; then
- git stash -q --keep-index --include-untracked
- trap "git reset -q --hard && git stash pop -q --index" EXIT
- fi
- echo "## Running luacheck"
- luacheck .
- echo
- echo "## Running tests with busted"
- busted
- echo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement