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