k3s/vendor/github.com/opencontainers/selinux/Makefile
Darren Shepherd 2193fe10cd Update vendor
2019-04-08 22:50:54 -07:00

20 lines
333 B
Makefile

BUILDTAGS := selinux
check-gopath:
ifndef GOPATH
$(error GOPATH is not set)
endif
.PHONY: test
test: check-gopath
go test -timeout 3m -tags "${BUILDTAGS}" ${TESTFLAGS} -v ./...
go test -timeout 3m ${TESTFLAGS} -v ./...
.PHONY:
lint:
@out="$$(golint go-selinux)"; \
if [ -n "$$out" ]; then \
echo "$$out"; \
exit 1; \
fi