This commit is contained in:
parent
e1b1a0056a
commit
cc9b6481aa
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
gospt-ng
|
||||
dist
|
||||
|
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user