Skip to content

Generate go_resource statements for creating and updating Homebrew Go packages

License

Notifications You must be signed in to change notification settings

samertm/homebrew-go-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Generate go_resource statements for creating and updating Homebrew Go packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages