Rakefile in kunley-amazon-ec2-0.3.4 vs Rakefile in kunley-amazon-ec2-0.3.8
- old
+ new
@@ -14,10 +14,15 @@
desc "Package and then install the gem locally"
task :install => [:package] do
sh %{sudo gem install pkg/#{GEM}-#{VER}}
end
+desc "Package and then install the gem locally omitting documentation"
+task :install_nodoc => [:package] do
+ sh %{sudo gem install --no-ri --no-rdoc pkg/#{GEM}-#{VER}}
+end
+
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test*.rb']
t.verbose = true
end
@@ -26,5 +31,7 @@
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.rdoc_dir = 'doc'
rd.options = spec.rdoc_options
end
+
+task :default => :test
\ No newline at end of file