9 lines
304 B
Ruby
9 lines
304 B
Ruby
# frozen_string_literal: true
|
|
|
|
desc 'Crawl app with tarantula'
|
|
task :tarantula do # rubocop:disable Rails/RakeEnvironment
|
|
sh 'rm -rf ../../../tmp/tarantula'
|
|
sh 'rm -rf ../hitobito/tmp/tarantula'
|
|
sh "bash -c \"RAILS_ENV=test #{ENV['APP_ROOT']}/bin/with_mysql " \
|
|
'rake app:tarantula:test"'
|
|
end
|