Move Travis targets to Makefile

This allows for calling them easily locally.
This commit is contained in:
Daniel Hahler
2017-02-17 19:44:22 +01:00
committed by Dave Halter
parent 0844b14866
commit 682f37792d
2 changed files with 18 additions and 9 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
test:
py.test
build:
mkdir $@
build/vint: | build
virtualenv $@
$@/bin/pip install vim-vint
check: LINT_FILES:=after autoload ftplugin plugin
check: build/vint
build/vint/bin/vint $(LINT_FILES)
clean:
rm -rf .cache build
.PHONY: test check clean