Sha256: 5c160271c31cc27bbbd6cb82540e0b9cf92a09f7763d1252944132b64b9337be
Contents?: true
Size: 844 Bytes
Versions: 2
Compression:
Stored size: 844 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'rubygems' require 'rake' require 'simple_model_translations/version' require 'rspec/core/rake_task' require 'rake/rdoctask' RSpec::Core::RakeTask.new(:spec) do |spec| spec.rspec_opts = %w(-fs --color) end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = "simple_model_translations #{SimpleModelTranslations::VERSION}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end task :build do system 'gem build simple_model_translations.gemspec' system 'mkdir pkg' unless File.exists?('pkg') system "mv simple_model_translations-#{SimpleModelTranslations::VERSION}.gem pkg" end task :release => :build do system "gem push pkg/simple_model_translations-#{SimpleModelTranslations::VERSION}.gem" end task :default => :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_model_translations-0.1.7 | Rakefile |
simple_model_translations-0.1.6 | Rakefile |