Skip to content

Instantly share code, notes, and snippets.

@haskellcamargo
Created May 8, 2018 14:03
Show Gist options
  • Save haskellcamargo/e78164340f47c22df71b96f818c0c2b9 to your computer and use it in GitHub Desktop.
Save haskellcamargo/e78164340f47c22df71b96f818c0c2b9 to your computer and use it in GitHub Desktop.
#!/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