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
#!/bin/bash | |
if [ "$1" == "" ]; then | |
echo Usage: $0 pngfile | |
exit 0; | |
fi | |
FILE=`basename $1 .png` | |
if [ ! -e $FILE.png ]; then |
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
/* | |
* This plugin makes sure karma doesn't run any specs when there's a | |
* compilation error in a module by including a module even if the module has errors. | |
* | |
* Webpack's normal behaviour is to not include modules which have errors, | |
* which causes Karma to run all the tests without the failed spec. | |
* | |
* Some links to where this magic actually happens in Webpack: | |
* |