diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8220ae --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: test + +.PHONY: test +test: vendor emacs scripts lint + +.PHONY: vendor +vendor: + @gem install rubocop + +.PHONY: emacs +emacs: + @lsb_release -a + @cd .emacs.d && ./test-emacs.sh + +.PHONY: scripts +scripts: + @cd bin/test && ./test.sh + +.PHONY: lint +lint: + @find . -name "*.sh" ! -name ".gitcompletion.sh" ! -name ".hgcompletion.sh" -not -path "./.emacs.d/*" -exec shellcheck \{\} \+ + @rubocop |
