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: 3 months ago
JSON representation
Unit test engine and linter for Bazel
- Host: GitHub
- URL: https://github.com/acqio/bazel-arcanist
- Owner: acqio
- Created: 2018-06-22T19:48:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T15:26:28.000Z (almost 3 years ago)
- Last Synced: 2024-07-31T07:15:43.274Z (6 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-bazel - acqio/bazel-arcanist - Integration with Arcanist with `arc test` and `arc lint` (Tooling / General)
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$)"
]
}
}
}
```