0
Files
aleesa-misc-go/Makefile

22 lines
372 B
Makefile

#!/usr/bin/env gmake -f
GOOPTS=CGO_ENABLED=0
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath -buildvcs=false
BINARY=aleesa-misc-go
all: clean build
build:
${GOOPTS} go build ${BUILDOPTS} -o ${BINARY} ./cmd/${BINARY}
clean:
rm -rf ${BINARY}
upgrade:
rm -rf vendor
go get -u -t ./...
go mod tidy
go mod vendor
# vim: set ft=make noet ai ts=4 sw=4 sts=4: