v8/tools/turbolizer/deploy.sh
Sigurd Schneider a20e3ec485 [turbolizer] Add deploy script
Bug: v8:7327
Change-Id: I445a6589612f12c5fffa2bd23831b961c94d960e
Reviewed-on: https://chromium-review.googlesource.com/1092535
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53633}
2018-06-11 11:51:09 +00:00

19 lines
297 B
Bash
Executable File

#!/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
echo "Deploying..."
cp *.jpg $DEST/
cp *.png $DEST/
cp *.css $DEST/
cp index.html $DEST/
cp -R build $DEST/
echo "Deployed to $DEST/."