debian-mirror-gitlab/lib/tasks/haml-lint.rake

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
179 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2019-02-15 15:39:39 +05:30
unless Rails.env.production?
require 'haml_lint/rake_task'
2019-09-04 21:01:54 +05:30
require Rails.root.join('haml_lint/inline_javascript')
2019-02-15 15:39:39 +05:30
HamlLint::RakeTask.new
end