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/*