Last active
November 9, 2025 14:32
-
-
Save huksley/a7d885864ce11691b659ffc37e2cfc5c to your computer and use it in GitHub Desktop.
Install inngest via homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Inngest < Formula | |
| desc "Workflow orchestration platform" | |
| homepage "https://github.com/inngest/inngest/" | |
| url "https://github.com/inngest/inngest.git", | |
| tag: "v1.13.4" | |
| license "Apache-2.0" | |
| head "https://github.com/inngest/inngest.git", branch: "main" | |
| depends_on "go" => :build | |
| def install | |
| system "go", "build", *std_go_args(ldflags: "-s -w") | |
| end | |
| test do | |
| port = free_port | |
| pid = fork do | |
| exec bin/"inngest", "server", "--dashboard-port", port.to_s | |
| end | |
| sleep 1 | |
| output = shell_output("curl -sS http://localhost:#{port}") | |
| assert_match "OK", output | |
| Process.kill("TERM", pid) | |
| Process.wait(pid) | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment