File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,10 @@ default: build
10
10
.PHONY : deps-go-binary deps-counterfeiter deps-ginkgo deps-golangci-lint
11
11
12
12
GO_VERSION := $(shell go version)
13
- GO_VERSION_REQUIRED = go1.18
14
- GO_VERSION_MATCHED := $(shell go version | grep $(GO_VERSION_REQUIRED ) )
15
13
16
14
deps-go-binary :
17
15
ifndef GO_VERSION
18
16
$(error Go not installed)
19
- endif
20
- ifndef GO_VERSION_MATCHED
21
- $(error Required Go version is $(GO_VERSION_REQUIRED), but was $(GO_VERSION))
22
17
endif
23
18
@:
24
19
Original file line number Diff line number Diff line change 1
1
// Copyright 2021 VMware, Inc.
2
2
// SPDX-License-Identifier: BSD-2-Clause
3
3
4
+ //go:build go1.17
5
+
4
6
package main
5
7
6
8
import (
Original file line number Diff line number Diff line change 1
1
// Copyright 2021 VMware, Inc.
2
2
// SPDX-License-Identifier: BSD-2-Clause
3
3
4
+ //go:build go1.17
5
+
4
6
package mover
5
7
6
8
import (
You can’t perform that action at this time.
0 commit comments