Sha256: fa1a3b7dc180d5dc5babf85da135a0862a1b0abd46c06c19d191c5402f7bac09
Contents?: true
Size: 876 Bytes
Versions: 1
Compression:
Stored size: 876 Bytes
Contents
# This rakefile is for building the EC2 on Rails gem. # To build a server AMI, see server/rakefile.rb begin require 'echoe' rescue LoadError abort "You'll need to have `echoe' installed to use ec2onrails' Rakefile" end require "./echoe_config" desc "Run all gem-related tasks" task :ec2onrails_gem => [:manifest, :package, :update_github_gemspec] desc "Update the GitHub gemspec file (/ec2onrails.gemspec)" task :update_github_gemspec => [:manifest, :package] do root_dir = File.dirname __FILE__ contents = File.open("#{root_dir}/pkg/ec2onrails-#{Ec2onrails::VERSION::STRING}/ec2onrails.gemspec", 'r').readlines File.open("#{root_dir}/ec2onrails.gemspec", 'w') do |f| f << "# This file is auto-generated, do not edit.\n" f << "# Edit echoe_config.rb and then run 'rake ec2onrails_gem'\n" f << "# \n" contents.each {|line| f << line} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pauldowman-ec2onrails-0.9.10.0 | Rakefile |