tasks/deployment.rake in poolparty-0.2.69 vs tasks/deployment.rake in poolparty-0.2.84
- old
+ new
@@ -8,13 +8,11 @@
end
# desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
# task :local_deploy => []
desc "Deploy the gem locally"
-task :local_deploy => [:website_generate, :install_gem, :build_local_gem] do
- sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
-end
+task :local_deploy => [:website_generate, :build_local_gem, :install_gem_no_doc]
task :check_version do
unless ENV['VERSION']
puts 'Must pass a VERSION=x.y.z release version'
exit
@@ -24,20 +22,20 @@
exit
end
end
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
-task :install_gem_no_doc => [:clean, :package] do
+task :install_gem_no_doc do
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
end
desc "Ensure .hoerc exists in the homedirectory. Create it if it doesn't"
task :hoerc do
str =<<-EOE
---
publish_on_announce: true
exclude: !ruby/regexp
- /tmp$|\.git|log$|local/.*\.rb$|Makefile|\.beam$/
+ /tmp$|\.git$|log$|local/.*\.rb$|Makefile|\.beam$/
EOE
hoerc_path = ::File.join( ENV["HOME"], ".hoerc" )
::File.open(hoerc_path, "w+") {|f| f << str } unless ::File.file?(hoerc_path)
end
\ No newline at end of file