CI/CD: replace buffalo build with go build (#1016)

This commit is contained in:
Marwan Sulaiman
2018-12-26 19:52:59 -05:00
committed by GitHub
parent 969ea0790a
commit 5b1cd25d22
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -59,7 +59,7 @@ if ($setup_dev_env.IsPresent) {
if ($build.IsPresent) {
try {
Push-Location $(Join-Path cmd proxy)
& buffalo build
& go build
}
finally {
Pop-Location