From ee5dfd000416334f6958bce4c45fc6334897926a Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 2 Apr 2024 13:40:16 -0300 Subject: [PATCH] Add shellcheck target --- .github/workflows/shellcheck.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index a84c332..e81497f 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: ludeeus/action-shellcheck@master - - run: ./bin/run-shellcheck + - run: make shellcheck on: push: branches: [ main ] diff --git a/Makefile b/Makefile index 8582dde..b6396db 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,7 @@ deinstall: rm -rf $(LIBEXECDIR) rm -f $(BINDIR)/portzap rm -f $(MANDIR)/portzap.8 + +shellcheck: + shellcheck bin/portzap + shellcheck libexec/portzap/*