summaryrefslogtreecommitdiff
path: root/chef-server-webui
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2012-08-27 12:18:01 -0700
committerBryan McLellan <btm@opscode.com>2012-08-27 12:18:01 -0700
commit84c93ba598213c25f34db5f42807b66fd3a571f4 (patch)
treef0d53076de4c126d5c7750d385c041c53c8b2b41 /chef-server-webui
parent4805003c8331eed7834e67ece71f1dcf16ae1261 (diff)
downloadchef-84c93ba598213c25f34db5f42807b66fd3a571f4.tar.gz
Add a gem packaging task for the webui
Diffstat (limited to 'chef-server-webui')
-rw-r--r--chef-server-webui/Rakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/chef-server-webui/Rakefile b/chef-server-webui/Rakefile
index 33a57261f8..21e5e2231b 100644
--- a/chef-server-webui/Rakefile
+++ b/chef-server-webui/Rakefile
@@ -4,4 +4,13 @@
require File.expand_path('../config/application', __FILE__)
+require 'rubygems/package_task'
+
ChefServerWebui::Application.load_tasks
+
+spec = eval(File.read("chef-server-webui.gemspec"))
+
+Gem::PackageTask.new(spec) do |pkg|
+ pkg.gem_spec = spec
+end
+