Skip to content

Commit

Permalink
Removed obsolete go version check from Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvrzna committed Jun 6, 2024
1 parent 256d848 commit faa89b0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ ifdef TAGS
TAGS_ARGS = -tags ${TAGS}
endif

ifeq ($(shell expr ${GOVERSION} \>= 'go1.18'), 1)
GOVCS = -buildvcs=false
else
GOVCS=
endif

test:
@echo "Testing..."
@go test -coverprofile cover.out ${TAGS_ARGS} ./...
Expand All @@ -27,7 +21,7 @@ clean:
build:
@echo "Building${TAGS_ARGS}..."
@mkdir -p dist
@go build ${TAGS_ARGS} -o dist/${DISTFILE} -ldflags "-X github.com/tvrzna/emptty/src.buildVersion=${BUILD_VERSION}" ${GOVCS}
@go build ${TAGS_ARGS} -o dist/${DISTFILE} -ldflags "-X github.com/tvrzna/emptty/src.buildVersion=${BUILD_VERSION}" -buildvcs=false
@gzip -cn res/emptty.1 > dist/emptty.1.gz
@echo "Done"

Expand Down

0 comments on commit faa89b0

Please sign in to comment.