Simple make test target

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
Riyaz Faizullabhoy
2017-05-12 11:10:26 -07:00
parent a9a00fae62
commit 39d74773fc
2 changed files with 66 additions and 0 deletions

View File

@@ -18,6 +18,10 @@ lint:
# govet
@test -z "$$(go tool vet -printf=false . 2>&1 | grep -v vendor/ | tee /dev/stderr)"
test: moby
./moby build test/test.yml
rm moby test.iso test-cmdline test-efi.iso test-initrd.img test-kernel
PHONY: install
install: moby
cp -a $^ $(PREFIX)/bin/