Sha256: e5ea1d5b4119e68f3f8fbef9a16124598ca393d944b6cb490b2f199866755af4
Contents?: true
Size: 566 Bytes
Versions: 3
Compression:
Stored size: 566 Bytes
Contents
require 'rspec/core/rake_task' require 'devtools' require 'rubygems/package_task' $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'analects' Devtools.init_rake_tasks Analects.init_rake_tasks RSpec::Core::RakeTask.new(:spec) task :default => :spec spec = Gem::Specification.load(File.expand_path('../analects.gemspec', __FILE__)) gem = Gem::PackageTask.new(spec) gem.define desc "Push gem to rubygems.org" task :push => :gem do sh "git tag v#{Analects::VERSION}" sh "git push --tags" sh "gem push pkg/analects-#{Analects::VERSION}.gem" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
analects-0.4.2 | Rakefile |
analects-0.4.1 | Rakefile |
analects-0.4.0 | Rakefile |