From 17037401821c41acddf8c674ab5eadc72522da39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20W=C3=B6lfer?= Date: Sat, 24 Jan 2026 19:58:05 +0100 Subject: [PATCH] WIP: Generated formular --- chkr.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 chkr.rb diff --git a/chkr.rb b/chkr.rb new file mode 100644 index 0000000..27ea318 --- /dev/null +++ b/chkr.rb @@ -0,0 +1,34 @@ +# Documentation: https://docs.brew.sh/Formula-Cookbook +# https://docs.brew.sh/rubydoc/Formula +# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! +class Chkr < Formula + desc "" + homepage "" + license "" + head "https://gitea.thasky.one/lukas/chkr.git" + + depends_on "rust" => :build + + # Additional dependency + # resource "" do + # url "" + # sha256 "" + # end + + def install + system "cargo", "install", *std_cargo_args + end + + test do + # `test do` will create, run in and delete a temporary directory. + # + # This test will fail and we won't accept that! For Homebrew/homebrew-core + # this will need to be a test that verifies the functionality of the + # software. Run the test with `brew test chkr`. Options passed + # to `brew install` such as `--HEAD` also need to be provided to `brew test`. + # + # The installed folder is not in the path, so use the entire path to any + # executables being tested: `system bin/"program", "do", "something"`. + system "false" + end +end