diff options
author | mmzyk <mmzyk@opscode.com> | 2012-02-27 12:19:19 -0500 |
---|---|---|
committer | mmzyk <mmzyk@opscode.com> | 2012-02-27 12:19:19 -0500 |
commit | 2b341db473c6d12fce4e572b019ef990f60ad6e6 (patch) | |
tree | a6c948e62afb5d1b1f53be158b3817d2c395afd7 | |
parent | 4db6f5065ce723e42464cdc563ce8406453b86a4 (diff) | |
download | chef-platform_specific_gems.tar.gz |
Move ship task to top level rakefileplatform_specific_gems
-rw-r--r-- | Rakefile | 11 | ||||
-rw-r--r-- | chef/Rakefile | 9 |
2 files changed, 11 insertions, 9 deletions
@@ -17,6 +17,8 @@ # limitations under the License. # +require File.dirname(__FILE__) + '/chef/lib/chef/version' + gems = %w[chef chef-server-api chef-server-webui chef-solr chef-expander chef-server] require 'rubygems' @@ -41,6 +43,15 @@ task :uninstall do end end +desc "Build it and ship it" +task :ship => [:clean, :gem] do + sh("git tag #{Chef::VERSION}") + sh("git push opscode --tags") + Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse.each do |built_gem| + sh("gem push #{built_gem}") + end +end + desc "Run the rspec tests" task :spec do Dir.chdir("chef") { sh "rake spec" } diff --git a/chef/Rakefile b/chef/Rakefile index 21ad2a869c..598dd4290a 100644 --- a/chef/Rakefile +++ b/chef/Rakefile @@ -57,15 +57,6 @@ task :uninstall do sh %{gem uninstall #{GEM_NAME} -x -v #{Chef::VERSION} } end -desc "Build it and ship it" -task :ship => [:clean, :gem] do - sh("git tag #{Chef::VERSION}") - sh("git push opscode --tags") - Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse.each do |built_gem| - sh("gem push #{built_gem}") - end -end - RONN_OPTS = "--manual='Chef Manual' --organization='Chef #{Chef::VERSION}' --date='#{Time.new.strftime('%Y-%m-%d')}'" namespace :docs do |