forked from cloudfoundry-attic/vcap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
32 lines (28 loc) · 688 Bytes
/
Rakefile
File metadata and controls
32 lines (28 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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