mirror of
https://github.com/unpoller/unpoller.git
synced 2026-09-29 19:11:17 +02:00
fix: use go install for release build tool dependencies
GoReleaser's make man hook failed because go get no longer works outside a module. Replace deprecated go get with go install for md2roff and rsrc. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,7 +43,7 @@ $(BINARY).1.gz: md2roff
|
||||
|
||||
md2roff: $(shell go env GOPATH)/bin/md2roff
|
||||
$(shell go env GOPATH)/bin/md2roff:
|
||||
cd /tmp ; go get $(MD2ROFF_BIN) ; go install $(MD2ROFF_BIN)
|
||||
go install $(MD2ROFF_BIN)
|
||||
|
||||
# TODO: provide a template that adds the date to the built html file.
|
||||
readme: README.html
|
||||
@@ -55,7 +55,7 @@ rsrc: rsrc.syso
|
||||
rsrc.syso: init/windows/application.ico init/windows/manifest.xml $(shell go env GOPATH)/bin/rsrc
|
||||
$(shell go env GOPATH)/bin/rsrc -ico init/windows/application.ico -manifest init/windows/manifest.xml
|
||||
$(shell go env GOPATH)/bin/rsrc:
|
||||
cd /tmp ; go get $(RSRC_BIN) ; go install $(RSRC_BIN)@latest
|
||||
go install $(RSRC_BIN)@latest
|
||||
|
||||
build-and-release: export DOCKER_REGISTRY = ghcr.io
|
||||
build-and-release: export DOCKER_IMAGE_NAME = unpoller/unpoller
|
||||
|
||||
Reference in New Issue
Block a user