#!/bin/sh
# This script will download and set up input data for the GUI tests (the phonegap package), as well as a package necessary for testing (jsdom). 
# Jsdom has C++ based components that must be built on the testing computer
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
cd $SCRIPTPATH/..
npm install jsdom@1.0.1
INSTALLPATH=$SCRIPTPATH"/input_folder"
SCRIPTPATH=$INSTALLPATH"/node_modules"
mkdir $SCRIPTPATH
cd $INSTALLPATH
npm install phonegap