2 desc "Feature-rich console based todo list manager"
3 homepage "https://taskwarrior.org/"
4 url "https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v3.3.0/task-3.3.0.tar.gz"
5 sha256 "7fd1e3571f673679758f001b5f44963eee59fd0d2cac887a5807cf2fd90856a1"
7 head "https://github.com/GothenburgBitFactory/taskwarrior.git", branch: "develop"
11 regex(/^v?(\d+(?:\.\d+)+)$/i)
15 sha256 arm64_sequoia: "1ef979eb7314c0a8ca74f96e7f935fba946b7128bd1614a1d7bf97d155901087"
16 sha256 arm64_sonoma: "cfb3f2ca6cb41ffba4fea6adb21d8549e2d893cccbb7b0d8ffc53d160bdc41e8"
17 sha256 arm64_ventura: "7ccbcc8c40f100e4700f0926041946d45bafe6da725545fb9bf0be7be4392232"
18 sha256 sonoma: "fab3bdfd1bfc3c86525b6b00c67c4bb1dc0168d8605711d333b59ca3fdd6ad4f"
19 sha256 ventura: "b34afc2fc079048ff7f573e9b1509554171753dc511f6d71106eb1002d4d06ab"
20 sha256 cellar: :any_skip_relocation, x86_64_linux: "6c7526a9f1bc1c91caed713777dc56860544fd67ecb78d40d7bfed24bc9d4763"
23 depends_on "cmake" => :build
24 depends_on "corrosion" => :build
25 depends_on "rust" => :build
28 depends_on "linux-headers@5.15" => :build
30 depends_on "util-linux"
33 conflicts_with "go-task", because: "both install `task` binaries"
36 system "cmake", "-S", ".", "-B", "build", *std_cmake_args
37 system "cmake", "--build", "build"
38 system "cmake", "--install", "build"
39 bash_completion.install "scripts/bash/task.sh"
40 zsh_completion.install "scripts/zsh/_task"
41 fish_completion.install "scripts/fish/task.fish"
45 touch testpath/".taskrc"
46 system bin/"task", "add", "Write", "a", "test"
47 assert_match "Write a test", shell_output("#{bin}/task list")