Merge pull request #14 from mikebrow/boilerplate-test

Boilerplate test
This commit is contained in:
Mike Brown
2017-04-21 17:38:01 -05:00
committed by GitHub
21 changed files with 717 additions and 4 deletions

View File

@@ -1,3 +1,17 @@
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
GO ?= go
EPOCH_TEST_COMMIT ?= 022b25259e31784d68192cdcd87a82d6c357a1bb
PROJECT := github.com/kubernetes-incubator/cri-containerd
@@ -25,7 +39,7 @@ ifndef GOPATH
$(error GOPATH is not set)
endif
verify: lint gofmt
verify: lint gofmt boiler
lint: check-gopath
@echo "checking lint"
@@ -35,6 +49,10 @@ gofmt:
@echo "checking gofmt"
@./hack/verify-gofmt.sh
boiler:
@echo "checking boilerplate"
@./hack/repo-infra/verify/verify-boilerplate.sh
cri-containerd: check-gopath
$(GO) build -o $(BUILD_DIR)/$@ \
$(PROJECT)/cmd/cri-containerd
@@ -72,6 +90,7 @@ install.tools: .install.gitvalidation .install.gometalinter
.PHONY: \
binaries \
boiler \
clean \
default \
gofmt \