diff --git a/Makefile b/Makefile index 0bc64e6..90590ce 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ - +BINARY_DIR=bin +BINARY_NAME=webhook-listener COVERAGE_DIR=coverage lint: @@ -13,4 +14,7 @@ test-coverage: go test -v -coverprofile ${COVERAGE_DIR}/cover.out ./... go tool cover -html ${COVERAGE_DIR}/cover.out -o ${COVERAGE_DIR}/cover.html cd ${COVERAGE_DIR} - open cover.html \ No newline at end of file + open cover.html +build: + mkdir ${BINARY_DIR} + go build -o ${BINARY_DIR}/${BINARY_NAME} \ No newline at end of file