mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-24 15:58:22 -04:00
LINT ALL THE HAML!
. . . lint *all* the HAML?
This commit is contained in:
1 parent
00c34ef30c
commit
9d6ac9fd8b
1 file changed
+1
-3
+1
-3
@@ -1,13 +1,11 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
linted_dirs = %w(account_types admin alternate_names comments crops)
|
||||
.map { |d| "app/views/#{d}" }.join(' ')
|
||||
checks = [
|
||||
'script/check_gemfile',
|
||||
'script/check_contributors_md',
|
||||
'script/check_conflicts',
|
||||
'rubocop --display-cop-names --rails',
|
||||
"haml-lint #{linted_dirs}"
|
||||
"haml-lint app/views"
|
||||
]
|
||||
|
||||
return_values = checks.collect { |t| system(t) }
|
||||
|
||||
Reference in new issue
Block a user