Skip to content

Commit

Permalink
Add build instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jupp0r committed Oct 13, 2016
1 parent dbe872a commit 24a31fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,30 @@ int main(int argc, char** argv) {
}
```
## Building
Install [bazel](https://www.bazel.io). Bazel makes it trivial to add
this repo to your project as a dependency. Just add the following to
your WORKSPACE
```
git_repository(
name = "prometheus-cpp",
remote = "https://github.com/jupp0r/prometheus-cpp.git",
branch = "master",
)
```
You can also check out this repo and build the library using
``` bash
bazel build lib:all
```

or run the unit tests using
```
bazel test tests:prometheus_test
```

## Project Status
Alpha

Expand Down

0 comments on commit 24a31fe

Please sign in to comment.