feat: update makefile
This commit is contained in:
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}
|
||||||
Reference in New Issue
Block a user