Project

General

Profile

Download (335 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman_docker / Rakefile @ cefce4bc

1 9c1fa5fb Daniel Lobato
require 'bundler/gem_tasks'
2 d4e021f3 Amos Benari
3
begin
4
  require 'bundler/setup'
5
rescue LoadError
6 9c1fa5fb Daniel Lobato
  Rails.logger.error 'You must `gem install bundler` and `bundle install` to run rake tasks'
7 d4e021f3 Amos Benari
end
8 dc3be9a0 David Davis
9
begin
10
  require 'rubocop/rake_task'
11
  RuboCop::RakeTask.new
12
rescue => _
13
  puts "Rubocop not loaded."
14
end
15
16
task :default do
17
  Rake::Task['rubocop'].execute
18
end