require 'rake' require 'spec/rake/spectask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "git-remote-monitor" s.summary = %Q{Monitor your remotes and get notifications on changes} s.email = "magnus.bergmark@gmail.com" s.homepage = "http://github.com/Mange/git-remote-monitor" s.executables = 'git-remote-monitor' s.description = %Q{git-remote-monitor is a little daemon that scans your git remotes for changes and then notifies you when it changes. This is useful when you are working on a piece of software together with other developers and you want to merge with their changes often. It will also help you when using graphical tools like gitk, git-gui and GitX since this will make your graphical tree refresh automatically.} s.files = FileList["[A-Z]*", "{bin,generators,lib,spec}/**/*"] s.authors = ["Magnus Bergmark"] s.add_dependency 'meow' end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end Spec::Rake::SpecTask.new do |t| t.libs << 'lib' t.verbose = false t.rcov = false end Spec::Rake::SpecTask.new('rcov') do |t| t.libs << 'lib' t.verbose = false t.rcov = true end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'git-remote-monitor' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end task :default => :test