Sha256: 7f50e82dad17b3c41cf7fbe248d38abd379f3a1f3af1c281bf447d2be429afc3

Contents?: true

Size: 743 Bytes

Versions: 15

Compression:

Stored size: 743 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 "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

15 entries across 15 versions & 1 rubygems

Version Path
vmail-0.6.9 Rakefile
vmail-0.6.8 Rakefile
vmail-0.6.7 Rakefile
vmail-0.6.6 Rakefile
vmail-0.6.5 Rakefile
vmail-0.6.4 Rakefile
vmail-0.6.3 Rakefile
vmail-0.6.2 Rakefile
vmail-0.6.1 Rakefile
vmail-0.6.0 Rakefile
vmail-0.5.9 Rakefile
vmail-0.5.8 Rakefile
vmail-0.5.7 Rakefile
vmail-0.5.6 Rakefile
vmail-0.5.5 Rakefile