Rakefile in keystone-0.0.29 vs Rakefile in keystone-0.0.30
- old
+ new
@@ -1,26 +1,30 @@
# TODO make all nicer
$:.unshift "lib"
-require 'lib/keystone'
+#require 'lib/keystone'
# task :build do
# sh 'rm -f kanamei-keystone-#{Keystone::VERSION}.gem'
# sh "gem build keystone.gemspec"
# sh "gem install kanamei-keystone-#{Keystone::VERSION}.gem"
# end
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gemspec|
- gemspec.name = "keystone"
- gemspec.summary = "oreore library"
- gemspec.email = "paco.jp@gmail.com"
- gemspec.homepage = "http://github.com/kanamei/keystone"
- gemspec.description = "oreore library"
- gemspec.authors = ["paco"]
- end
-rescue LoadError
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
-end
\ No newline at end of file
+desc "create gem file"
+task :build do
+ begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "keystone"
+ gemspec.summary = "oreore library"
+ gemspec.email = "paco.jp@gmail.com"
+ gemspec.homepage = "http://github.com/kanamei/keystone"
+ gemspec.description = "oreore library"
+ gemspec.authors = ["paco"]
+ end
+ rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+ end
+end
+