Sha256: 4632b5b44bfb397d1ce6ed91b516986127c160bbb6644fe30b93fd8fed44aeb3
Contents?: true
Size: 758 Bytes
Versions: 5
Compression:
Stored size: 758 Bytes
Contents
require 'bundler/setup' require 'rake/testtask' require 'bump/tasks' require_relative 'lib/restpack_web/version' task :default => [:test] Rake::TestTask.new do |t| t.pattern = 'spec/**/*_spec.rb' end task :gem do ["gem:bump", "gem:tag", "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 require 'bump' sh "gem push restpack_web-#{Bump::Bump.current}.gem" end task :tag do require 'bump' version = Bump::Bump.current puts "tagging v#{version}" `git push && git tag v#{version} && git push --tags` end task :bump do Rake::Task["bump:patch"].invoke end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
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 |