1e7fa8d99b
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
13 lines
291 B
Ruby
13 lines
291 B
Ruby
Rake::Task["spinach"].clear if Rake::Task.task_defined?('spinach')
|
|
|
|
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) or raise("#{cmd} failed!")
|
|
end
|
|
end
|