Add all target to Makefile, echo annotate lint check

This commit is contained in:
James Page 2013-11-08 09:40:58 +08:00
parent bd7332ec0d
commit 39af9a948d

View File

@ -1,12 +1,18 @@
#!/usr/bin/make
lint:
@echo -n "Running flake8 tests: "
@flake8 --exclude hooks/charmhelpers hooks
@flake8 unit_tests
@echo "OK"
@echo -n "Running charm proof: "
@charm proof
@echo "OK"
sync:
@charm-helper-sync -c charm-helpers.yaml
test:
@$(PYTHON) /usr/bin/nosetests --nologcapture --with-coverage unit_tests
all: test lint