Sha256: a2025630e625aed3510680568b27aa34337181c661f685ad92b918bed562aa5a

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

require 'rake/testtask'

Rake::TestTask.new do |t|
    t.libs << 'test'
end

desc "Run tests"
task :default => :test

task :cleanup_test do
    sh "rm -rf test/test"
end

task :build => :doc do
    sh "gem build dirtravel.gemspec"
end

task :doc do
    sh "yardoc lib/* - README.rdoc CHANGELOG.rdoc"
end

task :publish do
    if Dir.glob('dirtravel-*gem').length == 1
        sh "gem push dirtravel*.gem"
    else
        raise "Multiple gems in the directory..."
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dirtravel-0.0.5 Rakefile
dirtravel-0.0.4 Rakefile
dirtravel-0.0.3 Rakefile