Add shellcheck target
This commit is contained in:
parent
b89d53c7db
commit
ee5dfd0004
2 changed files with 5 additions and 1 deletions
2
.github/workflows/shellcheck.yml
vendored
2
.github/workflows/shellcheck.yml
vendored
|
@ -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 ]
|
||||
|
|
4
Makefile
4
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/*
|
||||
|
|
Loading…
Reference in a new issue