Sha256: 2c6306aa1d0abe3050fdd6c15f793eebcca6e931a22a13730023768f43eba08b
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
require 'rake/clean' require 'rubygems' require 'rubygems/package_task' require 'rdoc/task' Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*") rd.title = 'PGit' end spec = eval(File.read('pgit.gemspec')) Gem::PackageTask.new(spec) do |pkg| end desc 'Run specs' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new task :default => [:spec] namespace :spec do RSpec::Core::RakeTask.new(:unit) do |t| puts 'Running unit specs' t.pattern = Dir['spec/pgit/**/*_spec.rb'] end RSpec::Core::RakeTask.new(:integration) do |t| puts 'Running integration specs' t.pattern = Dir['spec/integration/**/*_spec.rb'] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgit-1.0.0 | Rakefile |