mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-30 08:04:31 +08:00
Break up the rest of the test script code into smaller files
This commit is contained in:
18
test/script/run-vint
Executable file
18
test/script/run-vint
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
exit_code=0
|
||||
image=w0rp/ale
|
||||
docker_flags=(--rm -v "$PWD:/testplugin" -v "$PWD/test:/home" -w /testplugin "$image")
|
||||
|
||||
echo '========================================'
|
||||
echo 'Running Vint to lint our code'
|
||||
echo '========================================'
|
||||
echo 'Vint warnings/errors follow:'
|
||||
echo
|
||||
|
||||
set -o pipefail
|
||||
docker run -a stdout "${docker_flags[@]}" vint -s . || exit_code=$?
|
||||
set +o pipefail
|
||||
echo
|
||||
|
||||
exit $exit_code
|
||||
Reference in New Issue
Block a user