A Homebrew installation formula for Rubyfmt, a code autoformatter for Ruby. Reuse when packaging or distributing command-line tools for macOS via Homebrew.
# Source: https://github.com/tinyhumansai/homebrew-core | License: BSD-2-Clause | Copyright 2009-present, Homebrew contributors
# Provided via justclaw.it.com; keep this notice with the code.
class Rubyfmt < Formula
desc "Ruby autoformatter"
homepage "https://github.com/fables-tales/rubyfmt"
url "https://github.com/fables-tales/rubyfmt/archive/refs/tags/v0.14.1.tar.gz"
sha256 "e008e4ae58680ea884c525eda0df6f70f4e8629182f0808835cb4666114e3de9"
license "MIT"
head "https://github.com/fables-tales/rubyfmt.git", branch: "trunk"
# Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are
# labeled as "pre-release" on GitHub before the version is released, so it's
# necessary to use the `GithubLatest` strategy.
livecheck do
url :stable
strategy :github_l
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key