From cc9b6481aa89f1da4190b38a5f012b7a59baa316 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sun, 18 Feb 2024 10:02:43 -0800 Subject: [PATCH] build --- .gitignore | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 921c6aa..1521c8b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -gospt-ng +dist diff --git a/Makefile b/Makefile index 5dde270..8850363 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ build: gospt-ng gospt-ng: $(shell find . -name '*.go') - go build -ldflags="-X 'git.asdf.cafe/abs3nt/gospt-ng/src/components/cli.Version=$(shell git rev-parse --short HEAD)'" . + go build -ldflags="-X 'git.asdf.cafe/abs3nt/gospt-ng/src/components/cli.Version=$(shell git rev-parse --short HEAD)'" -o dist/ . run: go run main.go