Sha256: 3ad2a358ef5922e0427e4858165981f650c2bfaf1b4a75ac21216bebc73fe4a8

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 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 :doc do
    sh "yardoc lib/* - README.rdoc CHANGELOG.rdoc"
end

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unicache-0.0.2 Rakefile
unicache-0.0.1 Rakefile