-
Notifications
You must be signed in to change notification settings - Fork 163
/
Rakefile
31 lines (26 loc) · 844 Bytes
/
Rakefile
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
task :default => [:install]
task :install do
sh "./mvnw clean install" do |ok, res|
ok or fail "Failed to install with status #{res.exitstatus}"
end
end
task :cucumber => [:install] do
sh "bundle exec cucumber" do |ok, res|
ok or fail "Failed to execute all feature tests with status #{res.exitstatus}"
end
end
task :cucumberci => [:install] do
sh "bundle exec cucumber --publish" do |ok, res|
ok or fail "Failed to execute all feature tests with status #{res.exitstatus}"
end
end
task :relish => [:cucumber] do
sh "bundle exec relish push searls/jasmine-maven-plugin" do |ok, res|
ok or fail "Failed to push to relish with status #{res.exitstatus}"
end
end
task :deploy => [:install, :cucumber] do
sh "./mvnw deploy" do |ok, res|
ok or fail "Failed to deploy with status #{res.exitstatus}"
end
end