Created
December 9, 2020 14:34
-
-
Save esquinas/3291de1c711fa6816daedddf3402e9bd to your computer and use it in GitHub Desktop.
Script to check ruby syntax of all Ruby files in project directory.
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
#!/usr/bin/env bash | |
echo 'STATIC-CHECKING RUBY SYNTAX OF ALL RB & RAKE FILES IN PROJECT' | |
echo | |
find . | grep ".*\.rb$" | xargs -L 1 ruby -c | |
find . | grep ".*\.rake$" | xargs -L 1 ruby -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment