Created
May 12, 2020 08:21
-
-
Save wshihadeh/5ee76d27f5c7a99ebeef25ad45da97d7 to your computer and use it in GitHub Desktop.
RubySyntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RubySyntax: | |
| enabled: true | |
| description: 'Check ruby syntax' | |
| required_executable: 'ruby' | |
| command: [ | |
| 'ruby', | |
| '-e', | |
| 'ARGV.each { |applicable_file| ruby_c_output = `ruby -c #{applicable_file}`; puts ruby_c_output unless $?.success? }' | |
| ] | |
| include: | |
| - '**/*.gemspec' | |
| - '**/*.rb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment