Add bin dir

This commit is contained in:
Jaroslav Drzik
2021-12-10 11:28:25 +01:00
parent 1689989bd4
commit 31983b6803
4 changed files with 149 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
BINARY_NAME=check_status
GO_PRG=check_status.go
BIN_DIR=./bin
GO=/usr/local/go/bin/go
all: build test
build:
${GO} build -o ${BIN_DIR}/${BINARY_NAME} ${GO_PRG}
test:
${GO} test -v ${GO_PRG}
clean:
${GO} clean
rm ${BIN_DIR}/${BINARY_NAME}