diff --git a/Formula/g/gi_gen.rb b/Formula/g/gi_gen.rb new file mode 100644 index 0000000..7fe1b54 --- /dev/null +++ b/Formula/g/gi_gen.rb @@ -0,0 +1,18 @@ +class GiGen < Formula + desc "Gitignore generator for any type of project" + homepage "https://casraf.dev" + url "https://github.com/chenasraf/gi_gen/archive/refs/tags/v0.3.13.tar.gz" + sha256 "be417fb34494e26d81f054c762998ea1078e637d4b1b712b97d3b77c237922d0" + license "MIT" + + depends_on "go" => [:build] + + def install + system "go", "build", "-buildmode", "exe", "-o", "gi_gen", "." + bin.install "gi_gen" + end + + test do + assert_match "Usage: gi_gen [options]", shell_output("gi_gen -h 2>&1 | head -1") + end +end diff --git a/README.md b/README.md index 590f46e..340cf54 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,27 @@ brew "" ## Available Formulae -- `treelike` - https://github.com/chenasraf/treelike +- [treelike](https://github.com/chenasraf/treelike) - Outputs a Tree-like representation from + strings +- [gi_gen](https://github.com/chenasraf/gi_gen) - Gitignore generator for any type of project ## Documentation -See more info about brew using `brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh). +See more info about brew using `brew help`, `man brew` or check +[Homebrew's documentation](https://docs.brew.sh). + +## Contributing + +I am developing these packages on my free time, so any support, whether code, issues, or just stars +is very helpful to sustaining their life. If you are feeling incredibly generous and would like to +donate just a small amount to help sustain this project, I would be very very thankful! + + + Buy Me a Coffee at ko-fi.com + + +I welcome any issues or pull requests on GitHub. If you find a bug, or would like a new feature, +don't hesitate to open an appropriate issue in the respective package's repository and I will do my +best to reply promptly.