You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prosody/t/testrunner

16 lines
265 B

#!/bin/bash
set -e
set -u
if [ -d /results ] ; then
# Running from Jenkins (RW)
RESULTS="/results"
else
# Running locally in Docker
RESULTS="./results"
mkdir -p "${RESULTS}"
fi
luacheck --formatter JUnit core plugins util > ${RESULTS}/prosody.luacheck