Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (23 sloc) 1.061 kB
SERVICES_DIR = %w(atmos filesystem memcached mongodb mysql neo4j postgresql rabbit redis service_broker vblob tools/backup/manager)
desc "Run integration tests."
task "tests" do |t|
system "cd tests; bundle exec rake tests"
end
namespace "bundler" do
desc "Update base gem"
task "update_base" do
system "cd base && rm -rf pkg && rake bundler:install"
SERVICES_DIR.each do |dir|
puts ">>>>>>>> enter #{dir}"
system "rm -f #{dir}/vendor/cache/vcap_services_base-*.gem && cp base/pkg/vcap_services_base-*.gem #{dir}/vendor/cache && cd #{dir} && bundle install --local"
end
end
desc "Update base gem and bump version using 'bundle update vcap_services_base'"
task "update_base!" do
system "cd base && rm -rf pkg && rake bundler:install"
SERVICES_DIR.each do |dir|
puts ">>>>>>>> enter #{dir}"
system "rm -f #{dir}/vendor/cache/vcap_services_base-*.gem && cp base/pkg/vcap_services_base-*.gem #{dir}/vendor/cache && cd #{dir} && bundle update vcap_services_base && bundle install --local"
end
end
end
Jump to Line
Something went wrong with that request. Please try again.