mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-05 13:11:31 +00:00
Add a 'make check' target to the Makefile
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
committed by
tmarcu
parent
3389b9794b
commit
af76e073ca
@@ -29,7 +29,7 @@ gopath:
|
||||
@echo "Code already in existing GOPATH=${GOPATH}"
|
||||
endif
|
||||
|
||||
.PHONY: all compliant build install clean
|
||||
.PHONY: all compliant build install clean check
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
all: compliant build
|
||||
@@ -52,6 +52,9 @@ install: gopath
|
||||
install -m 00755 superpack-maker.sh $(DESTDIR)/usr/bin/mixer-superpack-maker.sh
|
||||
install -D -m 00644 yum.conf.in $(DESTDIR)/usr/share/defaults/mixer/yum.conf.in
|
||||
|
||||
check: gopath
|
||||
go test ${GO_PACKAGE_PREFIX}/...
|
||||
|
||||
clean:
|
||||
ifeq (,${LOCAL_GOPATH})
|
||||
go clean -i -x
|
||||
|
||||
Reference in New Issue
Block a user