Skip to content

Instantly share code, notes, and snippets.

@huksley
Last active November 9, 2025 14:32
Show Gist options
  • Select an option

  • Save huksley/a7d885864ce11691b659ffc37e2cfc5c to your computer and use it in GitHub Desktop.

Select an option

Save huksley/a7d885864ce11691b659ffc37e2cfc5c to your computer and use it in GitHub Desktop.
Install inngest via homebrew
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