Skip to content

Commit

Permalink
Merge pull request kubernetes#1216 from oxddr/global-makefile
Browse files Browse the repository at this point in the history
Add a top-level Makefile so verify scripts can be called easily
  • Loading branch information
k8s-ci-robot committed May 5, 2020
2 parents d7135d3 + 5f834a9 commit 80b9e14
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

50 changes: 50 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/usr/bin/env python

# Copyright 2020 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.

.PHONY: verify-all
verify-all: test verify-boilerplate verify-dashboard verify-flags verify-gofmt

# TODO(oxddr): go-build.sh doesn't work at the moment decide whether we need this at all
# .PHONY: build
# build:
# verify/go-build.sh

.PHONY: test
test:
verify/test.sh

.PHONY: verify-boilerplate
verify-boilerplate:
verify/verify-boilerplate.sh

.PHONY: verify-dashboard
verify-dashboard:
verify/verify-dashboard-format.sh

.PHONY: verify-flags
verify-flags:
verify/verify-flags-underscore.py

# TODO(oxddr): use golintci-lint instead of gofmt
.PHONY: verify-gofmt
verify-gofmt:
verify/verify-gofmt.sh

# TODO(oxddr): use golintci-lint instead of gofmt
# TODO(oxddr): it doesn't work at HEAD
# .PHONY: verify-golint
# verify-golint:
# verify/verify-golint.sh

0 comments on commit 80b9e14

Please sign in to comment.