Created
May 8, 2018 14:03
-
-
Save haskellcamargo/e78164340f47c22df71b96f818c0c2b9 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# , | |
# / \,,_ .'| | |
# ,{{| /}}}}/_.' _____________________________________________ | |
# }}}}` '{{' '. / \ | |
# {{{{{ _ ;, \ / Ladies and Gentlemen, \ | |
# ,}}}}}} /o`\ ` ;) | | | |
# {{{{{{ / ( | this is ... | | |
# }}}}}} | \ | | | |
# {{{{{{{{ \ \ | _____ __ .-_'''-. .---. .---. | | |
# }}}}}}}}} '.__ _ | | \ _\ / /'_( )_ \ | | |_ _| | | |
# {{{{{{{{ /`._ (_\ / | .-./ ). / '|(_ o _)| ' | | ( ' ) | | |
# }}}}}}' | //___/ --=: \ '_ .') .' . (_,_)/___| | '-(_{;}_) | | |
# `{{{{` | '--' | (_ (_) _) ' | | .-----.| (_,_) | | |
# }}}` | / \ \ ' \ '- .'| _ _--. | | | |
# | `-'`-' \ \ `-'` | |( ' ) | | | | |
# | / / \ \ \ / (_{;}_)| | | | |
# | '--' '----' `'-...-' '(_,_) '---' | | |
# | / | |
# \_____________________________________________/ | |
extensions=$(ls -d */) | |
for extension in $extensions; do | |
if [ -e "$extension/test/index.js" ]; then | |
echo " [+] $extension" | |
cd $extension | |
rung test || exit $?; | |
cd .. | |
else | |
echo " [-] $extension" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment