commit 692c71db9c1726faef1d47d9456cd0eea610ebd2 Author: lazyeval-ci Date: Fri Jun 19 21:33:47 2026 +0000 rdbms-playground 0.2.0 diff --git a/Formula/rdbms-playground.rb b/Formula/rdbms-playground.rb new file mode 100644 index 0000000..39abd41 --- /dev/null +++ b/Formula/rdbms-playground.rb @@ -0,0 +1,44 @@ +# typed: false +# frozen_string_literal: true + +# rdbms-playground — installs the prebuilt release binary for the host +# platform. Regenerated for each release by scripts/render-homebrew-formula.sh; +# do not edit by hand. +class RdbmsPlayground < Formula + desc "Cross-platform TUI playground for learning relational databases" + homepage "https://relplay.org" + version "0.2.0" + license any_of: ["MIT", "Apache-2.0"] + + on_macos do + on_arm do + url "https://git.lazyeval.net/oli/rdbms-playground/releases/download/v0.2.0/rdbms-playground-v0.2.0-aarch64-apple-darwin" + sha256 "e429e064085e8e6d6d79c40926ba2eaa2e91326291ae0543ee5d38b331e4c786" + end + on_intel do + url "https://git.lazyeval.net/oli/rdbms-playground/releases/download/v0.2.0/rdbms-playground-v0.2.0-x86_64-apple-darwin" + sha256 "f57708c2e54276ec881d2de7243036530f93a648b7b040fac9de19f4c6589d8a" + end + end + + on_linux do + on_arm do + url "https://git.lazyeval.net/oli/rdbms-playground/releases/download/v0.2.0/rdbms-playground-v0.2.0-aarch64-unknown-linux-musl" + sha256 "3fa1765af1f545367b48ebccafd65a7282ac43a186d71c29694009403e68b63a" + end + on_intel do + url "https://git.lazyeval.net/oli/rdbms-playground/releases/download/v0.2.0/rdbms-playground-v0.2.0-x86_64-unknown-linux-musl" + sha256 "2356e27902d9004ce998b6728f00e03c04da2a2d76bc423298493cf1885b4382" + end + end + + def install + # The release asset is a single bare binary; Homebrew stages it in the + # build dir under its (versioned) basename. Install it as a stable name. + bin.install Dir["*"].first => "rdbms-playground" + end + + test do + assert_match "rdbms-playground #{version}", shell_output("#{bin}/rdbms-playground --version") + end +end