This commit is contained in:
abs3nt 2024-02-18 10:02:43 -08:00
parent e1b1a0056a
commit cc9b6481aa
Signed by: abs3nt
GPG Key ID: A7BD96A8BAB04C09
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
gospt-ng
dist

View File

@ -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