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

Version Path
vmail-1.3.0 Rakefile
vmail-1.2.9 Rakefile
vmail-1.2.8 Rakefile
vmail-1.2.6 Rakefile
vmail-1.2.5 Rakefile
vmail-1.2.4 Rakefile
vmail-1.2.3 Rakefile
vmail-1.2.2 Rakefile
vmail-1.2.1 Rakefile
vmail-1.2.0 Rakefile
vmail-1.1.9 Rakefile
vmail-1.1.8 Rakefile
vmail-1.1.7 Rakefile
vmail-1.1.6 Rakefile
vmail-1.1.5 Rakefile
vmail-1.1.4 Rakefile
vmail-1.1.3 Rakefile
vmail-1.1.2 Rakefile
vmail-1.1.1 Rakefile
vmail-1.1.0 Rakefile