Sha256: 7b7d0ee508f3108a99c77fb6ced4bdd3804f5d59b4e553d1c658c02f7bf7d08b

Contents?: true

Size: 1.54 KB

Versions: 4

Compression:

Stored size: 1.54 KB

Contents

require 'rake'

require 'jeweler'

Jeweler::Tasks.new do |s|
	s.name = "rush"
	s.summary = "A Ruby replacement for bash+ssh."
	s.description = "A Ruby replacement for bash+ssh, providing both an interactive shell and a library.  Manage both local and remote unix systems from a single client."
	s.author = "Adam Wiggins"
	s.email = "adam@heroku.com"
	s.homepage = "http://rush.heroku.com/"
	s.executables = [ "rush", "rushd" ]
	s.rubyforge_project = "ruby-shell"
	s.has_rdoc = true

	s.add_dependency 'session'
	
	s.files = FileList["[A-Z]*", "{bin,lib,spec}/**/*"]
end

Jeweler::GemcutterTasks.new

######################################################

require 'spec/rake/spectask'

desc "Run all specs"
Spec::Rake::SpecTask.new('spec') do |t|
	t.spec_files = FileList['spec/*_spec.rb']
end

desc "Print specdocs"
Spec::Rake::SpecTask.new(:doc) do |t|
	t.spec_opts = ["--format", "specdoc", "--dry-run"]
	t.spec_files = FileList['spec/*_spec.rb']
end

desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('rcov') do |t|
	t.spec_files = FileList['spec/*_spec.rb']
	t.rcov = true
	t.rcov_opts = ['--exclude', 'examples']
end

task :default => :spec

######################################################

require 'rake/rdoctask'

Rake::RDocTask.new do |t|
	t.rdoc_dir = 'rdoc'
	t.title    = "rush, a Ruby replacement for bash+ssh"
	t.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
	t.options << '--charset' << 'utf-8'
	t.rdoc_files.include('README.rdoc')
	t.rdoc_files.include('lib/rush.rb')
	t.rdoc_files.include('lib/rush/*.rb')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rush-0.6.8 Rakefile
rush-0.6.7 Rakefile
rush-0.6.6 Rakefile
rush-0.6.5 Rakefile