homebrew-core/Formula/ultralist.rb

35 lines
1.9 KiB
Ruby

class Ultralist < Formula
desc "Simple GTD-style task management for the command-line"
homepage "https://ultralist.io"
url "https://github.com/ultralist/ultralist/archive/1.7.0.tar.gz"
sha256 "d4a524c94c1ea4a748711a1187246ed1fd00eaaafd5b8153ad23b42d36485f79"
license "MIT"
bottle do
sha256 cellar: :any_skip_relocation, arm64_ventura: "b299b08dcd7d0729ab4a7d5ed7b236c1d63d33ee4d67c64c313a604995303430"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ad84b05d81e36133f2f57f72b0da8997b96e30d0b12122bb563e8e012d724271"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "8a2604f11a36ecf612bfd2912cd1b1a1345ea70995e884d156d935663150cbf9"
sha256 cellar: :any_skip_relocation, ventura: "f038715abbc33eb9fb530e784c0a53406c251f71af164c601dfe7fba3d7cee57"
sha256 cellar: :any_skip_relocation, monterey: "e400736305be6718a828515079c72ab56f3ee8257672945f0a18c9a435a43ccc"
sha256 cellar: :any_skip_relocation, big_sur: "b1c9c3e4f51dcec7c482a44e9111fdb3bf42081195d73df63c858c8c60a66eb0"
sha256 cellar: :any_skip_relocation, catalina: "529daa8fdf264f4f13f8f93d785095d4a803f94902772e25094415691bf7f83c"
sha256 cellar: :any_skip_relocation, mojave: "5bf8a9d39b953f0c24c8a1b978fab945f667a5f4e48c0d2729162f948f3b9118"
sha256 cellar: :any_skip_relocation, high_sierra: "eff4c2ac2bd4d1a4bfe6f0d2bcd92b4c572d17eaa047df909533d8f510f366a1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c1d287b06c14adcd326d8dd626209fcfa7a287919dce6f755f80a6513b2ed6e7"
end
# Bump to 1.18 on the next release, if possible.
depends_on "go@1.17" => :build
def install
system "go", "build", *std_go_args
end
test do
system bin/"ultralist", "init"
assert_predicate testpath/".todos.json", :exist?
add_task = shell_output("#{bin}/ultralist add learn the Tango")
assert_match(/Todo.* added/, add_task)
end
end