Binbrew

Binbrew installs pre-built binary dependencies (from Github).
It's primary use case is to help setting up development environments and
allow to use the same tools in CI environments as well.
Installation
Add the following to your installation scripts:
export BINBREW_VERSION=0.1.0
curl -sfL https://git.io/binbrew | bash -s -- -b ./bin/ v${BINBREW_VERSION}
To install the latest version simply omit the version:
curl -sfL https://git.io/binbrew | bash -s -- -b ./bin/
Note: Binbrew is still under heavy development, so it's recommended to lock onto a specific version.
Use it in your Makefile:
BINBREW_VERSION = 0.1.0
bin/binbrew: bin/binbrew-${BINBREW_VERSION}
@ln -sf binbrew-${BINBREW_VERSION} bin/binbrew
bin/binbrew-${BINBREW_VERSION}:
@mkdir -p bin
curl -sfL https://git.io/binbrew | bash -s -- -b ./bin/ v${BINBREW_VERSION}
@mv bin/binbrew $@
Quick start
In order to install binaries run the following command:
binbrew install dep@0.5.0
You can install multiple binaries with a single command:
binbrew install dep@0.5.0 protoc@3.6.1
Usage
Binary installer
Usage:
binbrew [command]
Available Commands:
help Help about any command
install Install one or more binaries
Flags:
-h, --help help for binbrew
--version version for binbrew
Use "binbrew [command] --help" for more information about a command.
License
The MIT License (MIT). Please see License File for more information.