Crates.io | brr |
lib.rs | brr |
version | 0.0.21 |
source | src |
created_at | 2021-09-16 20:46:59.836473 |
updated_at | 2021-10-20 20:49:08.056385 |
description | Use a cloud build farm to make rust builds fast. |
homepage | |
repository | |
max_upload_size | |
id | 452490 |
size | 134,558 |
A dead-simple, ultra-fast build farm for Rust
Brr is the Buildrecall CLI. If you're not familiar with Buildrecall, we make your builds run really fast.
Features:
cargo install brr
Login to Buildrecall with a bash-history safe token you can get here.
brr login <token>
Attach a build farm to a repository on your local development environment.
# ./my-rust-project
brr attach my-rust-project
Create a job you'd like to run in the buildrecall.toml
that was just created:
[project]
name = 'my-rust-project'
[[jobs]]
name = "mybuild"
run = "cargo build --release"
artifacts = ["target"]
Run your job:
brr run mybuild
In your CI (such as Github Actions), add a BUILDRECALL_API_KEY
environment variable (you can get a key here), and then you don't need to login:
BUILDRECALL_API_KEY=my_secret_key brr run mybuild