Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
parised committed Dec 25, 2019
1 parent 00d0b4d commit ff2cf3c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
GOCMD=go
GOBUILD=$(GOCMD) build
GOGET=$(GOCMD) get


deps:
$(GOGET) "github.com/daniele-parise/tail"
$(GOGET) "github.com/prometheus/client_golang/prometheus"
$(GOGET) "github.com/prometheus/client_golang/prometheus/promhttp"



build:
$(GOBUILD) "nginx-httpcode-exporter.go"



install: deps build



.PHONY: deps build install

0 comments on commit ff2cf3c

Please sign in to comment.