Sha256: ccbb8ba22796c7b13ac8e47c4cce975beb462a7b6e5257fa9452afc097047369
Contents?: true
Size: 658 Bytes
Versions: 5
Compression:
Stored size: 658 Bytes
Contents
# encoding: utf-8 require 'bundler' Bundler::GemHelper.install_tasks if File.exist? 'highrise.gemspec' require 'rspec/core/rake_task' require 'erb' desc 'Default: run unit tests.' task :default => :spec desc "Run all specs" RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*_spec.rb' t.rspec_opts = ["-c", "-f progress"] end desc 'Generate gemspec' task :gemspec do gemspec = 'highrise.gemspec' #FileUtils.rm gemspec if File.exist? gemspec template = ERB.new File.new("#{gemspec}.erb").read begin gemspec_file = File.open(gemspec,'w') gemspec_file.write template.result(binding) ensure gemspec_file.close end puts "done!" end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
highrise-3.2.3 | Rakefile |
highrise-3.2.1 | Rakefile |
highrise-3.1.6 | Rakefile |
highrise-3.1.5 | Rakefile |
highrise-3.1.2 | Rakefile |