From 2043ce4588d3e1b39eb6d73057ad435485388d13 Mon Sep 17 00:00:00 2001 From: James Holdsworth Date: Wed, 21 Nov 2018 10:36:14 +0000 Subject: [PATCH] Adding build make target. --- Makefile | 3 +++ README.md | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..54b7632 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +build: + go get -v + GOOS=linux GOARCH=amd64 go build diff --git a/README.md b/README.md index d64b87d..58cc187 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Exposes basic [JIRA](https://www.atlassian.com/software/jira) metrics (from one or more servers) to a [Prometheus](https://prometheus.io) compatible endpoint using the metric name: *jira_cloud_exporter*. +## Building + +`make build` + ## Configuration Configuration is provided in the form of environment variables. If multiple Jira servers are being queried, each variable value should be a comma separated list.