require "bundler/gem_tasks" require 'rake/clean' #CLEAN.include('*.tmp') CLOBBER.include('pkg/*.gem') task :default => [:spec,:test] desc "Run tres_raya.rb for tres_raya " task :bin do sh "ruby -Ilib bin/tres_raya.rb" end desc "Run rspec for tres_raya development" task :spec do sh "rspec -Ilib spec/tres_raya_spec.rb" end desc "Run test/tc_tres_raya.rb" task :test do sh "ruby -Ilib test/tc_tres_raya.rb" end desc "Uninstall gem tres-raya" task :uninstall do sh "gem uninstall tres-raya" end desc "Hide gem tres-raya in rubygems.org" task :unpublish, :version do |t, args| sh "gem yank tres-raya -v #{args[:version]}" end desc "Show all published versions of gem tres-raya" task :published do sh "gem list tres-raya --remote --all" end