aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/task.rb
diff options
context:
space:
mode:
authorchdiza2015-01-11 12:29:12 -0600
committerMike McQuaid2015-01-11 22:13:34 +0000
commitba574e756608252275b45618a23823366b2450a3 (patch)
tree1b060f9d10e78b35cab304d247e5a6baa8f3a03d /Library/Formula/task.rb
parent4b4a403a44925c7f262d650911d32a71bd31c885 (diff)
downloadhomebrew-ba574e756608252275b45618a23823366b2450a3.tar.bz2
task 2.4.0, modernize
Closes #35757. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/task.rb')
-rw-r--r--Library/Formula/task.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/task.rb b/Library/Formula/task.rb
index 8ff6d0116..0b010086a 100644
--- a/Library/Formula/task.rb
+++ b/Library/Formula/task.rb
@@ -1,19 +1,17 @@
-require 'formula'
-
class Task < Formula
- homepage 'http://www.taskwarrior.org/'
- url 'http://www.taskwarrior.org/download/task-2.3.0.tar.gz'
- sha1 'b5390a1c1232bcb727f5a595ac1141184810d09d'
- head 'https://git.tasktools.org/scm/tm/task.git', :branch => '2.4.0', :shallow => false
+ homepage "http://www.taskwarrior.org/"
+ url "http://www.taskwarrior.org/download/task-2.4.0.tar.gz"
+ sha1 "2c01e3eb874e7e499d31c99f93a37925b2f60ce8"
+ head "https://git.tasktools.org/scm/tm/task.git", :branch => "2.4.1", :shallow => false
depends_on "cmake" => :build
depends_on "gnutls" => :optional
def install
system "cmake", ".", *std_cmake_args
- system "make install"
- bash_completion.install 'scripts/bash/task.sh'
- zsh_completion.install 'scripts/zsh/_task'
+ system "make", "install"
+ bash_completion.install "scripts/bash/task.sh"
+ zsh_completion.install "scripts/zsh/_task"
end
test do