Skip to content

Commit 61bfb98

Browse files
committed
Make sure GO111MODULE is set
1 parent 3789193 commit 61bfb98

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Makes available the following metrics for Prometheus for processes matching a gi
88
- Disk IO (bytes)
99
- Disk IO (count)
1010

11+
### Requirements
12+
13+
- Go 1.13
14+
1115
### Building
1216

1317
```sh

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22
set -e
33
set -x
4+
export GO111MODULE=on
45
go build -o process_exporter github.com/setlog/process_exporter/cmd/exporter

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22
set -e
33
set -x
4+
export GO111MODULE=on
45
go test -v ./...
56
go build -o testing/integration_test github.com/setlog/process_exporter/integration_test
67
cd testing

0 commit comments

Comments
 (0)