OLD | NEW |
1 require 'rubygems' | 1 require 'rubygems' |
2 require 'rake/gempackagetask' | 2 require 'rake/gempackagetask' |
3 require 'rubygems/specification' | 3 require 'rubygems/specification' |
4 require 'date' | 4 require 'date' |
5 require 'spec/rake/spectask' | 5 require 'spec/rake/spectask' |
6 | 6 |
7 GEM = "appengine-tools" | 7 GEM = "appengine-tools" |
8 GEM_VERSION = "0.0.4" | 8 GEM_VERSION = "0.0.5" |
9 AUTHOR = "Ryan Brown" | 9 AUTHOR = "Ryan Brown" |
10 EMAIL = "ribrdb@gmail.com" | 10 EMAIL = "ribrdb@gmail.com" |
11 HOMEPAGE = "http://code.google.com/p/appengine-jruby" | 11 HOMEPAGE = "http://code.google.com/p/appengine-jruby" |
12 SUMMARY = "Tools for developing and deploying apps to Google App Engine" | 12 SUMMARY = "Tools for developing and deploying apps to Google App Engine" |
13 | 13 |
14 spec = Gem::Specification.new do |s| | 14 spec = Gem::Specification.new do |s| |
15 s.name = GEM | 15 s.name = GEM |
16 s.version = GEM_VERSION | 16 s.version = GEM_VERSION |
17 s.platform = Gem::Platform::RUBY | 17 s.platform = Gem::Platform::RUBY |
18 s.has_rdoc = true | 18 s.has_rdoc = true |
(...skipping 29 matching lines...) Expand all Loading... |
48 task :install => [:package] do | 48 task :install => [:package] do |
49 sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}} | 49 sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}} |
50 end | 50 end |
51 | 51 |
52 desc "create a gemspec file" | 52 desc "create a gemspec file" |
53 task :make_spec do | 53 task :make_spec do |
54 File.open("#{GEM}.gemspec", "w") do |file| | 54 File.open("#{GEM}.gemspec", "w") do |file| |
55 file.puts spec.to_ruby | 55 file.puts spec.to_ruby |
56 end | 56 end |
57 end | 57 end |
OLD | NEW |