https://github.com/prongbang/homebrew-formulae
https://github.com/prongbang/homebrew-formulae
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prongbang/homebrew-formulae
- Owner: prongbang
- Created: 2021-09-17T17:54:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-26T14:58:24.000Z (5 months ago)
- Last Synced: 2025-05-08T22:11:37.547Z (5 months ago)
- Language: Ruby
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# homebrew-formulae
## Localizegen
Generate Formula
```shell
$ brew create https://github.com/prongbang/localizegen/archive/refs/tags/v1.1.6.tar.gz
```Please run `brew audit --new localizegen` before submitting, thanks.
Output
- [localizegen.rb](https://github.com/prongbang/homebrew-formulae/blob/master/localizegen.rb)
You can check whether your formula is working or not by installing your application from specifying the formula.
```shell
$ brew install --build-from-source localizegen
```If it works, good enough. Now make sure your formula abides by the guidelines defined by homebrew using this command. Rectify any errors or warnings if there.
```shell
$ brew audit --strict localizegen
```Now install the application via homebrew
```shell
$ brew tap prongbang/homebrew-formulae
$ brew install localizegen
```## Analyticsgen
Generate Formula
```shell
$ brew create https://github.com/prongbang/analyticsgen/archive/refs/tags/v1.0.5.tar.gz
```Output
- [analyticsgen.rb](https://github.com/prongbang/homebrew-formulae/blob/master/analyticsgen.rb)
```shell
$ brew update
$ brew tap prongbang/homebrew-formulae
$ brew install analyticsgen
```## integration_testgen
Generate Formula
```shell
$ make checksum_integration_testgen
```Output
- [integration_testgen.rb](https://github.com/prongbang/homebrew-formulae/blob/master/integration_testgen.rb)
You can check whether your formula is working or not by installing your application from specifying the formula.
```shell
$ brew install --build-from-source integration_testgen
``````shell
$ brew update
$ brew tap prongbang/homebrew-formulae
$ brew uninstall integration_testgen
$ brew cleanup integration_testgen
$ brew install integration_testgen
```## Check platforms
```ruby
on_macos do
if Hardware::CPU.intel?
url "https://github.com/[username]/[execute_file]/releases/download/[version]/[execute_file]_[version]_Darwin_x86_64.tar.gz"
sha256 "checksum"def install
bin.install "[execute_file]"
end
end
if Hardware::CPU.arm?
url "https://github.com/[username]/[execute_file]/releases/download/[version]/[execute_file]_[version]_Darwin_arm64.tar.gz"
sha256 "checksum"def install
bin.install "[execute_file]"
end
end
endon_linux do
if Hardware::CPU.intel?
url "https://github.com/[username]/[execute_file]/releases/download/[version]/[execute_file]_[version]_Linux_x86_64.tar.gz"
sha256 "checksum"def install
bin.install "[execute_file]"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/[username]/[execute_file]/releases/download/[version]/[execute_file]_[version]_Linux_arm64.tar.gz"
sha256 "checksum"def install
bin.install "[execute_file]"
end
end
end
```