Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uetchy/magicformula
Generate and upload Homebrew Formula.
https://github.com/uetchy/magicformula
homebrew
Last synced: 28 days ago
JSON representation
Generate and upload Homebrew Formula.
- Host: GitHub
- URL: https://github.com/uetchy/magicformula
- Owner: uetchy
- License: mit
- Created: 2015-07-03T09:23:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T14:09:36.000Z (over 8 years ago)
- Last Synced: 2024-10-07T16:43:01.361Z (about 1 month ago)
- Topics: homebrew
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# magicformula
CLI to generate Homebrew formula.
## Install
with Homebrew:
```
$ brew install uetchy/solver/solver
```or `go get` directly:
```
$ go get -d github.com/uetchy/solver
```## Usage
```session
solver push \
--token "123456789abcdefghijklmnopqrstuvwxyz" \
--name "awesome-cli-app" \
--owner "uetchy" \
--tag "v1.0.0" \
--target-path-64 "./dist/darwin_amd64.tar.gz" \
--target-path-32 "./dist/darwin_386.tar.gz" \
--committer "uetchy" \
--committer-email "[email protected]"
```## Options
There are all of available options.
|option |description |
|-------|---------------------|
|token |Github access token |
|name |Formula repo |
|owner |Owner of formula repo|
|tag |Release tag |
|committer|Commit author |
|committer-email|Commit author email|
|target-path-64|binary or package(64)|
|target-path-32 (optional)|binary or package(32)|
|version (optional)|Formula's Version|
|product-owner (optional)|Owner of product repo|
|message (optional)|Commit message|## Working with [Wercker](http://wercker.com/)
See [wercker-step-homebrew](https://github.com/uetchy/wercker-step-homebrew) to get further information.
## Contributing
This step currently focusing on Golang project.
If you have any idea of creating formula for another language's project, please feel free to submit Pull-request or create issues.