aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2020-01-31 00:31:03 +0900
committerGitHub <noreply@github.com>2020-01-31 00:31:03 +0900
commit382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0 (patch)
tree75925f379568738b008c0792bbfa195a89e97a55 /Makefile
parentead5f7718dca26776ab03fccad15df31544ad74a (diff)
parent6e6f2a345deb694e91bfda53885573370eb11e91 (diff)
downloadvim-lsp-settings-382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0.tar.gz
vim-lsp-settings-382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0.tar.bz2
vim-lsp-settings-382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0.zip
Merge pull request #136 from johejo/fix/shellcheck_shfmt
shellcheck, shfmt
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..24d23b3
--- /dev/null
+++ b/Makefile
@@ -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