Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds version 0.0.1 #1

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions Formula/sigex.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
class Sigex < Formula
desc "Process runner/executor with support for multiple env files"
homepage "https://github.com/signaldevs/sigex"
version "0.0.1"
license "AGPL-3.0-only"

on_macos do
if Hardware::CPU.arm?
url "https://github.com/signaldevs/sigex/releases/download/v#{version}/sigex-darwin-arm64.tar.gz"
sha256 "6dfcbeaed1570a97b9ca85ec25149352867af741683c5b3de9e136e860d07192"
else
url "https://github.com/signaldevs/sigex/releases/download/v#{version}/sigex-darwin-amd64.tar.gz"
sha256 "2839d57a0e20c82d1a57778976f5bc671ff481339d8f7fe565f548ecd60c9b7d"
end
end

on_linux do
if Hardware::CPU.arm?
url "https://github.com/signaldevs/sigex/releases/download/v#{version}/sigex-linux-arm64.tar.gz"
sha256 "1804d2bdc9088d5c68719e09d9ae8da8f1a3aee709fcaa039c5f3f41e910743a"
else
url "https://github.com/signaldevs/sigex/releases/download/v#{version}/sigex-linux-amd64.tar.gz"
sha256 "2a8ef8bae55b6448fde4e34d5006781af73beb277d9b4cb5ea3ac54c6431576a"
end
end

def install
bin.install "sigex"
end

test do
assert_match version.to_s, shell_output("#{bin}/sigex --version")
end
end
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ tap "signaldevs/tap"
brew "<formula>"
```

## Formulae

- [sigex](https://github.com/signaldevs/sigex)

## Documentation

`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).