labs-vcap/Rakefile

33 строки
688 B
Ruby

# Bundler tasks are defined in rakelib/bundler.rake
#
desc "Run specs"
task "spec" do |t|
CoreComponents.in_each_dir do
system "bundle exec rake spec"
end
end
desc "Run specs using RCov"
task "spec:rcov" do |t|
CoreComponents.in_each_dir do
system "bundle exec rake spec:rcov"
end
end
desc "Run integration tests. (Requires a running cloud)"
task "tests" do |t|
system "cd tests; bundle exec rake tests"
end
namespace "db" do
desc "Create or update the configured CloudController database"
task "migrate" do
system "cd cloud_controller; rake db:create db:migrate"
end
end
task "migrate" => "db:migrate"
task :sync do
sh "git submodule update --init"
end