From 2b0f691d5f9b05da9bdb31f3758e44a3dac7f73c Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 2 Apr 2021 15:39:02 +0200 Subject: [PATCH] Get shellcheck working for the bin/ scripts --- .drone.yml | 1 + makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 84da7ef..b31a7f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,7 @@ steps: image: koalaman/shellcheck-alpine:v0.7.1 commands: - shellcheck abra + - shellcheck bin/*.sh - name: run unit tests image: decentral1se/docker-dind-bats-kcov diff --git a/makefile b/makefile index a26a6a9..77cb0ca 100644 --- a/makefile +++ b/makefile @@ -21,7 +21,8 @@ shellcheck: --rm \ -v $$(pwd):/workdir \ koalaman/shellcheck-alpine \ - shellcheck /workdir/abra + shellcheck /workdir/abra && \ + shellsheck /workdir/bin/*.sh docopt: @if [ ! -d ".venv" ]; then \