Rakefile in import_everything-0.1.3 vs Rakefile in import_everything-0.1.5
- old
+ new
@@ -35,10 +35,11 @@
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
task :default => :spec
+task :test => :spec
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
@@ -61,9 +62,25 @@
task :generate do
puts `yardoc -e yard_ext.rb`
end
task :server do
puts `yard server -e yard_ext.rb --reload`
+ end
+end
+
+namespace :rel do
+ task :all do
+ res = []
+ res << "bundle exec rake version:bump:patch"
+ res << "bundle exec rake gemspec"
+ res << "git add import_everything.gemspec"
+ res << "git commit -m gemspec"
+ res << "bundle exec rake install"
+ res << "bundle exec rake release"
+ res.each do |cmd|
+ puts cmd
+ puts `#{cmd}`
+ end
end
end
if false
\ No newline at end of file