k3s/vendor/github.com/rootless-containers/rootlesskit/Makefile
Darren Shepherd 6f01e13fc4 Update vendor
2019-04-09 10:35:00 -07:00

24 lines
581 B
Makefile

GO=go
GO_FILES=$(shell find . -name *.go)
BINARIES=rootlesskit rootlessctl rootlesskit-docker-proxy
.PHONY: all
all: $(addprefix bin/, $(BINARIES))
.PHONY: clean
clean:
$(RM) -r bin/
bin/rootlesskit: $(GO_FILES)
$(GO) build -o $@ -v github.com/rootless-containers/rootlesskit/cmd/rootlesskit
bin/rootlessctl: $(GO_FILES)
$(GO) build -o $@ -v github.com/rootless-containers/rootlesskit/cmd/rootlessctl
bin/rootlesskit-docker-proxy: $(GO_FILES)
$(GO) build -o $@ -v github.com/rootless-containers/rootlesskit/cmd/rootlesskit-docker-proxy
.PHONY: test
test:
./hack/test.sh