Skip to content

Commit

Permalink
Merge pull request #202452 from cxwx/todotxt
Browse files Browse the repository at this point in the history
todo-txt 2.13
  • Loading branch information
BrewTestBot authored Dec 26, 2024
2 parents 8bdad71 + 724a368 commit a7dba5f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Formula/t/todo-txt.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class TodoTxt < Formula
desc "Minimal, todo.txt-focused editor"
homepage "http://todotxt.org/"
url "https://github.com/todotxt/todo.txt-cli/releases/download/v2.12.0/todo.txt_cli-2.12.0.tar.gz"
sha256 "e6da9b2c8022658c514a0b1613b3eae52f6240bf2b3494a83dae713ea445d13e"
url "https://github.com/todotxt/todo.txt-cli/releases/download/v2.13.0/todo.txt_cli-2.13.0.tar.gz"
sha256 "d3b925434029aac212213c103fb6573a4f960c74dd467a3efac9bd9afe89d15f"
license "GPL-3.0-only"
head "https://github.com/todotxt/todo.txt-cli.git", branch: "master"

Expand All @@ -12,8 +12,7 @@ class TodoTxt < Formula
end

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, all: "dcd2c4f80cb1986b35d47b38e0e526e403a1a5c1c930dc652d2f3b50602e0338"
sha256 cellar: :any_skip_relocation, all: "aa11eb960775585bbb243b4206daeabb25c7d776e24d57726bb7ad359fd6d290"
end

def install
Expand All @@ -31,7 +30,7 @@ def caveats

test do
cp prefix/"todo.cfg", testpath/".todo.cfg"
inreplace testpath/".todo.cfg", "export TODO_DIR=$(dirname \"$0\")", "export TODO_DIR=#{testpath}"
inreplace testpath/".todo.cfg", "export TODO_DIR=${HOME:-$USERPROFILE}", "export TODO_DIR=#{testpath}"
system bin/"todo.sh", "add", "Hello World!"
system bin/"todo.sh", "list"
end
Expand Down

0 comments on commit a7dba5f

Please sign in to comment.