Rakefile in nin-1.0.1 vs Rakefile in nin-1.2.0
- old
+ new
@@ -6,9 +6,10 @@
t.test_files = FileList['test/**/*_test.rb']
end
task :default => :test
+desc "Make a new build and publish it to RubyGems"
task :publish do
build_name_and_version = "nin-#{Nin::VERSION}.gem"
system "gem build nin.gemspec --silent --output #{build_name_and_version}"
system "gem push #{build_name_and_version}"