mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-26 02:07:58 -05:00
14 lines
338 B
Ruby
Executable File
14 lines
338 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
checks = [
|
|
'script/check_gemfile',
|
|
'script/check_contributors_md',
|
|
'script/check_conflicts',
|
|
'rubocop --display-cop-names --rails',
|
|
"haml-lint app/views"
|
|
]
|
|
|
|
return_values = checks.collect { |t| system(t) }
|
|
failures = return_values.count(&:!)
|
|
abort "#{failures} static check(s) failed" unless failures.zero?
|