blob: 60d4d6343b75fa50b57627378836ea89fe30cf95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Rake::Task["spinach"].clear
desc "GITLAB | Run spinach"
task :spinach do
cmds = [
%W(rake gitlab:setup),
%W(spinach),
]
cmds.each do |cmd|
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
raise "#{cmd} failed!" unless $?.exitstatus.zero?
end
end
|