Sha256: 5b57175d0cf96fca5b3f17fb19d674c2f55ca69148f57ad0e767dc3aad5190e6

Contents?: true

Size: 547 Bytes

Versions: 86

Compression:

Stored size: 547 Bytes

Contents

require_relative 'lib/restpack-web/version'

task :default => :test
task :test => :spec

begin
  require "rspec/core/rake_task"

  desc "Run all specs"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = ['-cfs']
  end
rescue LoadError
end


task :gem do
  ["gem:build", "gem:push"].each do |task|
    Rake::Task[task].reenable
    Rake::Task[task].invoke
  end
end

namespace :gem do 
  task :build do
    sh "gem build restpack-web.gemspec"
  end
  
  task :push do
    sh "gem push restpack-web-#{RestPack::Web::VERSION}.gem"
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
restpack-web-0.2.26 Rakefile
restpack-web-0.2.25 Rakefile
restpack-web-0.2.24 Rakefile
restpack-web-0.2.23 Rakefile
restpack-web-0.2.22 Rakefile
restpack-web-0.2.21 Rakefile
restpack-web-0.2.20 Rakefile
restpack-web-0.2.19 Rakefile
restpack-web-0.2.18 Rakefile
restpack-web-0.2.17 Rakefile
restpack-web-0.2.16 Rakefile
restpack-web-0.2.15 Rakefile
restpack-web-0.2.14 Rakefile
restpack-web-0.2.13 Rakefile
restpack-web-0.2.12 Rakefile
restpack-web-0.2.11 Rakefile
restpack-web-0.2.10 Rakefile
restpack-web-0.2.9 Rakefile
restpack-web-0.2.8 Rakefile
restpack-web-0.2.7 Rakefile