Files
homebrew-tools/todo.rb

51 lines
1.6 KiB
Ruby
Raw Normal View History

# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
2025-05-23 00:19:09 -04:00
class Todo < Formula
desc "A simple CLI tool to manage your todo list."
2025-05-23 00:19:09 -04:00
homepage "https://github.com/AmanTahiliani/todo"
version "0.3.2-alpha"
2025-05-23 00:19:09 -04:00
license "MIT"
2025-05-23 00:43:33 -04:00
stable do
url "https://github.com/AmanTahiliani/todo/releases/download/v#{version}/todo_Darwin_x86_64.tar.gz"
sha256 "767e7db19b15536be1fb7eb3f77ac477b85cb89f0afd459a7c589f253dc05ccd"
2025-05-23 00:19:09 -04:00
on_macos do
if Hardware::CPU.intel?
url "https://github.com/AmanTahiliani/todo/releases/download/v0.3.2-alpha/todo_Darwin_x86_64.tar.gz"
sha256 "767e7db19b15536be1fb7eb3f77ac477b85cb89f0afd459a7c589f253dc05ccd"
def install
bin.install "todo"
end
end
if Hardware::CPU.arm?
url "https://github.com/AmanTahiliani/todo/releases/download/v0.3.2-alpha/todo_Darwin_arm64.tar.gz"
sha256 "ee8fe3d9b371e45405b9715583f27eb47d88849766d1e94e82e8c5053d2d3e87"
2025-05-23 00:19:09 -04:00
def install
bin.install "todo"
end
end
2025-05-23 00:19:09 -04:00
end
on_linux do
if Hardware::CPU.intel? and Hardware::CPU.is_64_bit?
url "https://github.com/AmanTahiliani/todo/releases/download/v0.3.2-alpha/todo_Linux_x86_64.tar.gz"
sha256 "45c818accc61ec9c7a79fd0122127be759aa8452e35d8b17b3b3ff83ee0ef1fd"
def install
bin.install "todo"
end
end
if Hardware::CPU.arm? and Hardware::CPU.is_64_bit?
url "https://github.com/AmanTahiliani/todo/releases/download/v0.3.2-alpha/todo_Linux_arm64.tar.gz"
sha256 "55e85bec08e911e6b0b473e8b1f248ffae08dd135934a5df798876fdbd1a4348"
def install
bin.install "todo"
end
end
2025-05-23 00:19:09 -04:00
end
end