Rakefile in nin-1.0.0 vs Rakefile in nin-1.0.1
- old
+ new
@@ -5,5 +5,12 @@
t.libs << "test"
t.test_files = FileList['test/**/*_test.rb']
end
task :default => :test
+
+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}"
+end