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:
parent
1dbd8f52c8
commit
1b66a555ae
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue