Sha256: afd8d0d9b81590dae2483d01f6cf7ea1fb33f6b5f5d925328323a8fd3d13f3e9

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

require 'rake/testtask'

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

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

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
como-0.1.2 Rakefile
como-0.1.1 Rakefile
como-0.1.0 Rakefile