12 lines
295 B
Makefile
12 lines
295 B
Makefile
|
BINARY=supporty
|
||
|
|
||
|
DIR = $(shell cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
|
||
|
BIN_DIR = ${DIR}
|
||
|
|
||
|
.PHONY: build clean test lint
|
||
|
.DEFAULT_GOAL: build
|
||
|
|
||
|
|
||
|
build:
|
||
|
mkdir -p ${BIN_DIR} && CGO_ENABLED=0 go build -asmflags -trimpath=${DIR} -o ${BIN_DIR}/${BINARY} supporty.go
|
||
|
chmod +x ${BIN_DIR}/${BINARY}
|