Skip to content

Create brew install formula for macos #421

@wilsonmar

Description

@wilsonmar

When users install using Homebrew, it's only one-step:
brew install gatewayd

The install command can be executed on any folder because all formulas are placed in /usr/local/bin
so no changes to .bash_profile PATH is needed.
It also enables users to upgrade all formulae with one command.

See https://setapp.com/how-to/install-homebrew-on-mac

Example See https://docs.brew.sh/Formula-Cookbook

cask "gatewayd" do
  version "0.8.10"
  sha256 "6af7f2d587b604de9c4789c029fa2b3164d7c694b36cec2f0c4c44e47e58843e"
  url "https://github.com/gatewayd-io/gatewayd/releases/download/v#{version}/gatewayd-darwin-amd64-v#{version}.tar.gz",
      verified: "https://github.com/gatewayd-io/gatewayd"

  name "GatewayD"
  desc "Cloud-native database gateway and framework for building data-driven applications - Like API gateways, for databases"
  homepage "https://docs.gatewayd.io/getting-started/installation/"
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✨ New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions