schlueter / rushmate

Creates a bridge between rush ruby shell + ssh and textmate your favorite text editor

This URL has Read+Write access

rushmate / Rakefile
100644 24 lines (20 sloc) 0.656 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
task :coverage => :cleanup do
  system("rm -fr coverage")
  system("export TM_SUPPORT_PATH=/Applications/TextMate.app/Contents/SharedSupport/Support && rcov --sort=coverage --threshold=100 --exclude=gems/*,TextMate.app --sort=coverage test/*_test.rb")
  system("open coverage/index.html")
end
 
task :install => :cleanup do
  puts %x{gem build rushmate.gemspec}
  puts %x{sudo gem install --local -f rushmate}
end
 
task :uninstall do
  puts %x{sudo gem uninstall rushmate}
end
 
task :cleanup do
  %x{rm -rf coverage}
  %x{rm -f rushmate-*}
  %x{rm -rf doc}
end
 
task :rdoc => :cleanup do
  %x{rdoc -o doc -m README lib/rushmate/**.rb README MIT-LICENSE}
end