Sha256: 6561cf3bfdb27ee89a231511d838ae0f5a65e4a3c53b917f7828fc0e50c30b4d
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
require 'rspec/core/rake_task' require 'devtools' require 'rubygems/tasks' 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 Gem::Tasks.new 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.3.1 | Rakefile |
analects-0.2.1 | Rakefile |
analects-0.2.0 | Rakefile |