1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 15:54:24 +00:00

Update vendor

This commit is contained in:
Darren Shepherd
2016-05-31 18:12:52 -07:00
parent 410dfbe0fd
commit a14846152b
1253 changed files with 222820 additions and 15054 deletions

View File

@@ -20,10 +20,7 @@ endif
static:
CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT}" -o runc .
vet:
go get golang.org/x/tools/cmd/vet
lint: vet
lint:
go vet ./...
go fmt ./...
@@ -37,23 +34,23 @@ test: runctestimage
localtest: all
go test -tags "$(BUILDTAGS)" ${TESTFLAGS} -v ./...
dbuild: runctestimage
dbuild: runctestimage
docker build -t $(RUNC_IMAGE) .
docker create --name=$(RUNC_INSTANCE) $(RUNC_IMAGE)
docker cp $(RUNC_INSTANCE):$(RUNC_BUILD_PATH) .
docker rm $(RUNC_INSTANCE)
install:
cp runc /usr/local/bin/runc
install -D -m0755 runc /usr/local/sbin/runc
uninstall:
rm -f /usr/local/bin/runc
rm -f /usr/local/sbin/runc
clean:
rm -f runc
rm -f $(RUNC_LINK)
validate: vet
validate:
script/validate-gofmt
go vet ./...