blob: 011c2f47f1e7b5a1654bf9fae58826377311cfd9 [file] [log] [blame]
#!/bin/bash
DEST=$1
if [ ! -d "$DEST" ]; then
echo -e "Destination \"$DEST\" is not a directory. Run\n\tnpm deploy -- [destination-directory]"
exit 1
fi
function copy() {
echo -n "."
cp "$@"
}
echo -n "Deploying..."
copy *.png $DEST/
copy *.css $DEST/
copy index.html $DEST/
copy info-view.html $DEST/
copy -R build $DEST/
copy -R img $DEST/
echo "done!"
echo "Deployed to $DEST/."