feat: add gi_gen package

This commit is contained in:
2024-09-03 18:54:32 +03:00
parent 008b8442fa
commit 805ffbc3d8
2 changed files with 39 additions and 2 deletions

18
Formula/g/gi_gen.rb Normal file
View File

@@ -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

View File

@@ -32,8 +32,27 @@ brew "<formula>"
## 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!
<a href='https://ko-fi.com/casraf' target='_blank'>
<img height='36' style='border:0px;height:36px;'
src='https://cdn.ko-fi.com/cdn/kofi1.png?v=3'
alt='Buy Me a Coffee at ko-fi.com' />
</a>
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.