gitlab-org--gitlab-foss/lib/tasks/haml-lint.rake

6 lines
131 B
Ruby

unless Rails.env.production?
require 'haml_lint/rake_task'
require 'haml_lint/inline_javascript'
HamlLint::RakeTask.new
end