Files
faveo/public/filemanager/scripts/dropzone/test.sh
Bhanu Slathia c710c20b9e Update v1.0.6
2016-02-16 23:22:09 +05:30

17 lines
359 B
Bash

#!/bin/bash
if [ $# -gt 0 ]
then
if [ $1 != "compiled" ]
then
echo
echo "Invalid argument passed. Call './test.sh compiled' if don't want to compile the source before."
echo
exit 1
fi
else
grunt
component build --standalone Dropzone
fi
./node_modules/mocha-phantomjs/bin/mocha-phantomjs test/test.html