stuff
This commit is contained in:
parent
f8d877cac0
commit
e9b7c73342
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
bin/
|
||||
gospt
|
20
Makefile
Normal file
20
Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
BINARY_NAME=gospt
|
||||
|
||||
build:
|
||||
GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go
|
||||
|
||||
run:
|
||||
go run main.go
|
||||
|
||||
tidy:
|
||||
go mod tidy
|
||||
|
||||
clean:
|
||||
rm -rf bin
|
||||
|
||||
uninstall:
|
||||
rm -f /usr/local/bin/${BINARY_NAME}
|
||||
|
||||
install:
|
||||
cp bin/${BINARY_NAME} /usr/local/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user