Sha256: e3c49322fe5b206bc54e2bd74432e5137939303470384232afefdb3b758d0eeb
Contents?: true
Size: 944 Bytes
Versions: 60
Compression:
Stored size: 944 Bytes
Contents
require 'rake' require 'rake/testtask' require 'bundler' Bundler::GemHelper.install_tasks $LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib') desc "build and push website" task :web do require 'vmail/version' version = Vmail::VERSION Dir.chdir("website") do puts "updating website" puts `./run.sh #{version}` end end desc "build website locally" task :weblocal do require 'vmail/version' version = Vmail::VERSION Dir.chdir("website") do `ruby gen.rb #{version} > vmail.html` `open vmail.html` end end desc "git push and rake release bumped version" task :bumped do puts `git push && rake release` Rake::Task["web"].execute end desc "Run tests" task :test do $:.unshift File.expand_path("test") require 'test_helper' require 'time_format_test' require 'message_formatter_test' require 'reply_template_test' require 'base64_test' MiniTest::Unit.autorun end task :default => :test
Version data entries
60 entries across 60 versions & 1 rubygems