Commit ab445f8b authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[turbolizer] Make deploy script nicer

Change-Id: Ibe96234f101ce1e3a8fd61ccf387aa4bb6da6067
Notry: true
Bug: v8:7327
Reviewed-on: https://chromium-review.googlesource.com/c/1319870Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57293}
parent e0f875fd
...@@ -7,12 +7,17 @@ if [ ! -d "$DEST" ]; then ...@@ -7,12 +7,17 @@ if [ ! -d "$DEST" ]; then
exit 1 exit 1
fi fi
echo "Deploying..." function copy() {
echo -n "."
cp "$@"
}
cp *.jpg $DEST/ echo -n "Deploying..."
cp *.png $DEST/ copy *.jpg $DEST/
cp *.css $DEST/ copy *.png $DEST/
cp index.html $DEST/ copy *.css $DEST/
cp -R build $DEST/ copy index.html $DEST/
copy -R build $DEST/
echo "done!"
echo "Deployed to $DEST/." echo "Deployed to $DEST/."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment