binbrew

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 4 Imported by: 0

README

Binbrew

Go Version CircleCI Go Report Card GolangCI GoDoc

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
provider
nolint: lll
nolint: lll

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL