Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Improved readme and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Mar 27, 2017
1 parent 128e1d4 commit 8cc48fb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
########################################################################################

# This Makefile generated by GoMakeGen 0.4.0 using next command:
# gomakegen --metalinter .

########################################################################################

.PHONY = fmt deps

########################################################################################

deps:
git config --global http.https://pkg.re.followRedirects true
go get -v pkg.re/essentialkaos/ek.v7

fmt:
find . -name "*.go" -exec gofmt -s -w {} \;

########################################################################################
metalinter:
test -s $(GOPATH)/bin/gometalinter || (go get -u github.com/alecthomas/gometalinter ; $(GOPATH)/bin/gometalinter --install)
$(GOPATH)/bin/gometalinter --deadline 30s

########################################################################################
16 changes: 12 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@ Package for working with [Librato Metrics](https://www.librato.com) API from Go

## Installation

````
Before the initial install allows git to use redirects for [pkg.re](https://github.com/essentialkaos/pkgre) service (reason why you should do this described [here](https://github.com/essentialkaos/pkgre#git-support)):

```
git config --global http.https://pkg.re.followRedirects true
```

Make sure you have a working Go 1.6+ workspace ([instructions](https://golang.org/doc/install)), then

```
go get pkg.re/essentialkaos/librato.v5
````
```

For update to latest stable release, do:

````
```
go get -u pkg.re/essentialkaos/librato.v5
````
```

## Examples

Expand Down

0 comments on commit 8cc48fb

Please sign in to comment.