mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-24 01:57:46 -05:00
12 lines
284 B
Ruby
Executable File
12 lines
284 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
checks = [
|
|
# 'overcommit -r',
|
|
'bundle exec script/check_contributors_md.rb'
|
|
]
|
|
|
|
return_values = checks.collect { |t| system(t) }
|
|
failures = return_values.count(&:!)
|
|
abort "#{failures} static check(s) failed" unless failures.zero?
|