k3s/vendor/github.com/opencontainers/selinux/Makefile
Darren Shepherd fa08d6076c Update vendor
2019-01-11 21:58:27 -07:00

19 lines
290 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 ./...
.PHONY:
lint:
@out="$$(golint go-selinux)"; \
if [ -n "$$out" ]; then \
echo "$$out"; \
exit 1; \
fi