feat: update makefile
This commit is contained in:
parent
ca4541ca1a
commit
e25b192aff
6
Makefile
6
Makefile
|
@ -1,4 +1,5 @@
|
||||||
|
BINARY_DIR=bin
|
||||||
|
BINARY_NAME=webhook-listener
|
||||||
COVERAGE_DIR=coverage
|
COVERAGE_DIR=coverage
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
@ -14,3 +15,6 @@ test-coverage:
|
||||||
go tool cover -html ${COVERAGE_DIR}/cover.out -o ${COVERAGE_DIR}/cover.html
|
go tool cover -html ${COVERAGE_DIR}/cover.out -o ${COVERAGE_DIR}/cover.html
|
||||||
cd ${COVERAGE_DIR}
|
cd ${COVERAGE_DIR}
|
||||||
open cover.html
|
open cover.html
|
||||||
|
build:
|
||||||
|
mkdir ${BINARY_DIR}
|
||||||
|
go build -o ${BINARY_DIR}/${BINARY_NAME}
|
Loading…
Reference in New Issue