From ff11b3b9fd913775aac20a2a58456a64f7dd553d Mon Sep 17 00:00:00 2001 From: Christof Schulze Date: Mon, 25 Nov 2019 08:32:55 +0100 Subject: [PATCH] Use luacheck to ensure quality of code in the build, exit on error --- firmware-release-builder.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware-release-builder.sh b/firmware-release-builder.sh index 955498d..3c0fe37 100755 --- a/firmware-release-builder.sh +++ b/firmware-release-builder.sh @@ -235,6 +235,9 @@ git checkout ${FRB_GIT_BRANCH} git pull cd $WORKSPACE +to_output "Running luacheck linter" +luacheck package scripts targets || exit 1 + to_output "Update OpenWrt" make update check_last_exitcode