Skip to content

Commit

Permalink
make: remove redundant go version check (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc authored Sep 23, 2024
1 parent 513ce74 commit 98b29d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 39 deletions.
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
BUILD_REQUIRE_GO_MAJOR ?= 1
BUILD_REQUIRE_GO_MINOR ?= 20

GO = go
GOBUILD = $(GO) build
GOTEST = $(GO) test
Expand Down Expand Up @@ -59,7 +56,7 @@ clean: clean-release-dir clean-debian clean-rpm
#

.PHONY: binary
binary: goversion
binary:
$(GOBUILD) $(LD_OPTS) -o $(BINARY_NAME)

.PHONY: build
Expand All @@ -74,7 +71,7 @@ lint:
golangci-lint run

.PHONY: test
test: goversion
test:
@$(GOTEST) $(LD_OPTS) ./...

.PHONY: func-tests
Expand Down Expand Up @@ -128,7 +125,5 @@ release: clean tarball
#

.PHONY: platform-all
platform-all: goversion clean
platform-all: clean
python3 .github/release.py run-build $(BINARY_NAME)

include mk/goversion.mk
31 changes: 0 additions & 31 deletions mk/goversion.mk

This file was deleted.

0 comments on commit 98b29d2

Please sign in to comment.