diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5f5247 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +bin/ +gospt diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..04c4af0 --- /dev/null +++ b/Makefile @@ -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 +