GitXplorerGitXplorer
s

homebrew-go-resources

public
18 stars
3 forks
0 issues

Commits

List of commits on branch master.
Verified
6dcc1d48d39567ae7319996446f53eab6b90f744

Merge pull request #6 from 0xdevalias/patch-1

ssamertm committed a year ago
Verified
b298c18597a8d37d75488222dbc99e0fc125b019

fix install in README

00xdevalias committed a year ago
Unverified
ac306363620bec41bf2fa5c6b83c0d963bca3bd5

Normalize clone URLs correctly.

ssamertm committed 9 years ago
Unverified
4192b53c00310d76091a1e78d79ff6af2df27353

Merge pull request #4 from jhillyerd/bug/multi-el-gopath

ssamertm committed 9 years ago
Unverified
290e4598eae249530351bcaa4572258dc2dc600e

Support multi-element GOPATH

jjhillyerd committed 9 years ago
Unverified
b2809abc79602bebe6c1e2c8cabfbdde82db60b6

Merge pull request #2 from mistydemeo/whitespace

ssamertm committed 10 years ago

README

The README file for this repository.

homebrew-go-resources generates go_resource statements for homebrew formulas. It generates go_resource statements for the currently checked out repos for your project and prints them on stdout. It works for 'hg' and 'git' repositories.

Generate go_resource statements

Before running this tool, you should fetch the project by either running go get -u project/import/path (to fetch the latest version) or, to fetch a specific release:

  • git clone https://url/to/project src/project/import/path
  • cd src/project/import/path
  • git checkout tag # for example, v1.0.0
  • go get -d

Then, run:

homebrew-go-resources project/import/path

to print the go_resource statements for project to stdout.

Usage

Usage of homebrew-go-resources:
	homebrew-go-resources [flags] [path]
Flags:
  -debug=false: show debug messages

Install

go install github.com/samertm/homebrew-go-resources@latest