From 9bb5b802b9725f7bac329335b5c201f54b40ee15 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Wed, 25 Sep 2024 00:15:15 +0700 Subject: [PATCH] fix ci-build-configuration command --- .gitignore | 1 + Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b50d772..67589fb 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out tmp/ +_output/ # Dependency directories (remove the comment below to include it) # vendor/ diff --git a/Makefile b/Makefile index 8f51276..5e91b0b 100644 --- a/Makefile +++ b/Makefile @@ -33,10 +33,10 @@ build-jsonschema: ci-build-configuration: clean export CGO_ENABLED=0 && \ go get github.com/mitchellh/gox && \ - go run github.com/mitchellh/gox -ldflags '-X github.com/hasura/ndc-prometheus/version.BuildVersion=$(VERSION) -s -w -extldflags "-static"' \ + go run github.com/mitchellh/gox -ldflags '-X github.com/hasura/ndc-prometheus/configuration/version.BuildVersion=$(VERSION) -s -w -extldflags "-static"' \ -osarch="linux/amd64 linux/arm64 darwin/amd64 windows/amd64 darwin/arm64" \ -output="$(OUTPUT_DIR)/$(VERSION)/ndc-prometheus-{{.OS}}-{{.Arch}}" \ - . + ./configuration .PHONY: ci-build build-supergraph-test: