-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (15 loc) · 767 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export GO111MODULE = on
###############################################################################
### Build ###
###############################################################################
build: go.sum
@echo "building flow_exporter binary..."
@go build -mod=readonly -o build/flow_exporter ./cmd/flow_exporter
.PHONY: build
###############################################################################
### Install ###
###############################################################################
install: go.sum
@echo "installing flow_exporter binary..."
@go install -mod=readonly ./cmd/flow_exporter
.PHONY: install