mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
CI/CD: replace buffalo build with go build (#1016)
This commit is contained in:
@@ -2,7 +2,7 @@ VERSION = "unset"
|
||||
DATE=$(shell date -u +%Y-%m-%d-%H:%M:%S-%Z)
|
||||
.PHONY: build
|
||||
build:
|
||||
cd cmd/proxy && buffalo build
|
||||
cd cmd/proxy && go build
|
||||
|
||||
build-ver:
|
||||
GO111MODULE=on CGO_ENABLED=0 go build -mod=vendor -ldflags "-X github.com/gomods/athens/pkg/build.version=$(VERSION) -X github.com/gomods/athens/pkg/build.buildDate=$(DATE)" -o athens ./cmd/proxy
|
||||
|
||||
Reference in New Issue
Block a user