Files
linuxkit/alpine/packages/vsudd/Makefile
Riyaz Faizullabhoy c8e7a6dd43 Move linting to Go build
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-21 11:26:33 -08:00

16 lines
308 B
Makefile

all: vsudd
DEPS=Dockerfile $(wildcard *.go)
vsudd: $(DEPS) ../vendor/manifest
mkdir -p sbin
BUILD=$$( tar cf - $(DEPS) -C .. vendor | docker build -q - ) && \
[ -n "$$BUILD" ] && \
echo "Built $$BUILD" && \
docker run --rm --net=none $$BUILD | tar xf - -C sbin
clean:
rm -rf sbin
.DELETE_ON_ERROR: