public
Description: A set of Sake tasks to make developing with Git easier.
Clone URL: git://github.com/eventualbuddha/sake-git.git
Search Repo:
use sake -Tv to include hidden tasks
granth (author)
Thu May 01 09:15:29 -0700 2008
eventualbuddha (committer)
Thu May 08 10:08:32 -0700 2008
commit  c20d9741a742b882d7f22fdcc4ec27cf1a932b6b
tree    67aa4d8174b0ea2f11442d5f1c4b2b038ba9cb77
parent  ab308fc3fbbffa7222097de14418d5dd421f5111
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 desc "Install the sake-git tasks (use FORCE=yes to overwrite)"
0
 task :install do
0
   if ENV['FORCE'] == 'yes'
0
- tasks = `rake -f #{Dir.pwd}/git.rake -T`.to_a.grep(/^rake/).map {|l| l[/^rake (\S+)/, 1]}
0
+ tasks = `sake -Tv #{Dir.pwd}/git.rake`.to_a.grep(/^sake/).map {|l| l[/^sake (\S+)/, 1]}
0
     `sake -u #{tasks.join(' ')} 2>/dev/null`
0
   end
0
   

Comments

    No one has commented yet.