Sha256: b426dca4c6202f7a6ea02c5d88a75fab20a77b2691a6d2480ebd31572590b0c3

Contents?: true

Size: 476 Bytes

Versions: 2

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 notifyhub.gemspec"
end

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notifyhub-0.0.2 Rakefile
notifyhub-0.0.1 Rakefile