Sha256: a321b82761f23d326b2028fe883827e687d4929f48d84c14f742352e1f64bf12
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
# encoding: utf-8 require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "fullstack-rss" gem.homepage = "http://github.com/mcasimir/fullstack-rss" gem.license = "MIT" gem.summary = %Q{RSS Feed Gem for fullstack-cms} gem.description = %Q{RSS Feed Gem for fullstack-cms} gem.email = "maurizio.cas@gmail.com" gem.authors = ["mcasimir"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new task :push do message = ENV["message"] || "commit #{Time.now}" `git add . && git commit -a -m '#{message}' && git push` end task "release:patch" do Rake::Task["gemspec"].invoke Rake::Task["version:bump:patch"] Rake::Task["push"].invoke Rake::Task["release"].invoke end task "release:minor" do Rake::Task["gemspec"].invoke Rake::Task["version:bump:minor"] Rake::Task["push"].invoke Rake::Task["release"].invoke end task "release:major" do Rake::Task["gemspec"].invoke Rake::Task["version:bump:major"] Rake::Task["push"].invoke Rake::Task["release"].invoke end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fullstack-rss-0.1.2 | Rakefile |