public
Description: Super streamlined memory profiler with real time graphs for Ruby programs
Clone URL: git://github.com/mojombo/vanhelsing.git
Search Repo:
vanhelsing / Rakefile
100644 19 lines (17 sloc) 0.509 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'echoe'
 
Echoe.new('vanhelsing') do |p|
  p.author = "Tom Preston-Werner"
  p.summary = "Super streamlined memory profiler with real time graphs for Ruby programs"
  p.url = "http://vanhelsing.rubyforge.com"
end
 
task :go do
  sh("sudo rm /usr/bin/ruby-vanhelsing") rescue nil
  sh("sudo rm -fr /tmp/vanhelsing") rescue nil
  sh("rake manifest")
  sh("rake clean")
  sh("rake package")
  Dir.chdir("pkg") do
    sh("sudo gem uninstall vanhelsing") rescue nil
    sh("sudo gem install *.gem")
  end
end