aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: e8220aea4fe6c7e21b779af93d268bbe5ec8500a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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