Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/acqio/bazel-arcanist

Unit test engine and linter for Bazel
https://github.com/acqio/bazel-arcanist

Last synced: 2 months ago
JSON representation

Unit test engine and linter for Bazel

Lists

README

        

Run you bazel tests using `arc unit` command (also get your BUILD filers formatted using `arc lint`). Here is how:

1. Copy content of this repository into your project:
```
curl -sSL https://github.com/acqio/bazel-arcanist/archive/0.4.tar.gz | tar zxf - --strip-components=1 --wildcards bazel-arcanist-0.4/tools/*
```
2. Modify `.arcconfig` to make it look like this:
```
{
"phabricator.uri": "https://phab.yourserver.com/",
"load": [
"tools/arc"
],
"unit.engine": "BazelTestEngine"
}
```
3. Modify `.arclint` to make it look like this:
```
{
"linters": {
"buildifier": {
"type": "buildifier",
"include": [
"(\\.BUILD$)",
"(\\.bazel$)",
"(\\.bzl$)",
"(^BUILD$)",
"(^WORKSPACE$)"
]
}
}
}
```