masaruhoshi / uptimerobot-prometheus-exporter

A Golang Prometheus exporter for UptimeRobot monitors.
MIT License
33 stars 13 forks source link

Makefile failing #12

Closed masaruhoshi closed 6 years ago

masaruhoshi commented 6 years ago

The Makefile is not ready to run on Linux.

perl -p -i -e 's/{{VERSION}}//g' uptimerobot_exporter.go
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE VERSION}}/ at -e line 1.
GOOS=darwin GOARCH=amd64 go build -o release/uptimerobot_exporter-darwin-amd64 github.com/masaruhoshi/uptimerobot_exporter
can't load package: package github.com/masaruhoshi/uptimerobot_exporter: cannot find package "github.com/masaruhoshi/uptimerobot_exporter" in any of:
        /usr/local/go/src/github.com/masaruhoshi/uptimerobot_exporter (from $GOROOT)
        /home/felipesantiago/go/src/github.com/masaruhoshi/uptimerobot_exporter (from $GOPATH)
Makefile:21: recipe for target 'release' failed
make: *** [release] Error 1