Remove deprecated netgo build tag (Fixes #4)

This commit is contained in:
James Mills 2022-08-01 14:28:03 +10:00
parent c011bbae0c
commit 31040303f7
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6
2 changed files with 1 additions and 4 deletions

View file

@ -3,11 +3,8 @@ builds:
- id: tube - id: tube
binary: tube binary: tube
main: . main: .
flags:
- -installsuffix=netgo
tags: tags:
- embed - embed
- netcgo
- static_build - static_build
ldflags: >- ldflags: >-
-w -w

View file

@ -36,7 +36,7 @@ dev : server ## Build debug version of tube
@./tube @./tube
server: generate ## Build the tube server server: generate ## Build the tube server
@$(GOCMD) build -tags "embed netgo static_build" -installsuffix netgo \ @$(GOCMD) build -tags "embed static_build" \
-ldflags "-w \ -ldflags "-w \
-X $(shell go list).Version=$(VERSION) \ -X $(shell go list).Version=$(VERSION) \
-X $(shell go list).Commit=$(COMMIT)" \ -X $(shell go list).Commit=$(COMMIT)" \