summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-08 11:27:19 +0200
committerAzul <azul@leap.se>2012-10-08 11:27:19 +0200
commit51bc4cf65133982e9cf197bcf07aed3efce3d6dc (patch)
treefff2c65eb668980b278f583dc098fb5bd2bfa099 /Rakefile
parent7b706df83679c364451352660e59e5fb5ec9ecad (diff)
cleaned up the gemspecs a bit - now all build
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 884c035..8b58316 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,6 +2,14 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+require 'rake/packagetask'
+require 'rubygems/package_task'
+
+spec = eval(File.read('leap_web.gemspec'))
+Gem::PackageTask.new(spec) do |p|
+ p.gem_spec = spec
+end
+
require File.expand_path('../config/application', __FILE__)
LeapWeb::Application.load_tasks