mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
feat(modules): migrate to go modules and bump go version 1.14.4
- migrate to go module - bump go version 1.14.4 Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
This commit is contained in:
parent
f5ae3ff476
commit
fa76b346a0
837 changed files with 104140 additions and 158314 deletions
22
buildscripts/tools.go
Normal file
22
buildscripts/tools.go
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// +build tools
|
||||
|
||||
/*
|
||||
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.
|
||||
*/
|
||||
|
||||
// this package imports things required by build scripts, to force `go mod` to see them as dependencies
|
||||
package tools
|
||||
|
||||
import _ "k8s.io/code-generator"
|
||||
|
|
@ -23,6 +23,8 @@ function checkGitDiff() {
|
|||
#make golint-travis
|
||||
#rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
|
||||
make verify-deps
|
||||
|
||||
echo "Running : make kubegen"
|
||||
make kubegen
|
||||
rc=$?; if [[ $rc != 0 ]]; then echo "make kubegen failed"; exit $rc; fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue