mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
add shellcheck and shfmt task
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
.PHONY: shellcheck
|
||||
shellcheck:
|
||||
find ./installer -name "*.sh" -type f -print0 | xargs -0 shellcheck
|
||||
|
||||
.PHONY: shellcheck-docker
|
||||
shellcheck-docker:
|
||||
find ./installer -name "*.sh" -type f -print0 | xargs -0 docker run -t --rm -v "${PWD}:/mnt" koalaman/shellcheck:stable
|
||||
|
||||
.PHONY: shfmt
|
||||
shfmt:
|
||||
find ./installer -name "*.sh" -type f -print0 | xargs -0 shfmt -w
|
||||
Reference in New Issue
Block a user