Makefile: add make check

make check now calls lint and unit

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
This commit is contained in:
Ryan Harper 2015-11-02 16:49:31 -06:00
parent 1dbd8f52c8
commit 1b66a555ae
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@ ifneq (,$(MACHINE))
MACHARGS=--machine=$(MACHINE)
endif
.PHONY: run clean
.PHONY: run clean check
all: dryrun
@ -57,6 +57,8 @@ unit:
echo "Running unit tests..."
nosetests3 $(PYTHONSRC)/tests
check: lint unit
installer/$(INSTALLIMG): installer/geninstaller installer/runinstaller $(INSTALLER_RESOURCES) probert
(cd installer && TOPDIR=$(TOPDIR)/installer ./geninstaller -v -r $(RELEASE) -a $(ARCH) -s $(STREAM) -b $(BOOTLOADER))
echo $(INSTALLER_RESOURCES)