97953dd6e2
In previous refactoring, the CSS files are moved to subdirectory css Change-Id: I38e05ae1a9e56f36d5bd25131e605a93cfdb61f9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3701958 Commit-Queue: Jie Pan <jie.pan@intel.com> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#81120}
25 lines
396 B
Bash
Executable File
25 lines
396 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
|
|
|
|
function copy() {
|
|
echo -n "."
|
|
cp "$@"
|
|
}
|
|
|
|
echo -n "Deploying..."
|
|
copy *.png $DEST/
|
|
copy index.html $DEST/
|
|
copy info-view.html $DEST/
|
|
copy -R build $DEST/
|
|
copy -R img $DEST/
|
|
copy -R css $DEST/
|
|
echo "done!"
|
|
|
|
echo "Deployed to $DEST/."
|