| Index: runtime/bin/vmservice/client/deploy.sh
|
| ===================================================================
|
| --- runtime/bin/vmservice/client/deploy.sh (revision 38989)
|
| +++ runtime/bin/vmservice/client/deploy.sh (working copy)
|
| @@ -1,23 +0,0 @@
|
| -#!/bin/sh
|
| -
|
| -# This script copies the build outputs produced by `pub build` to
|
| -# the deployed directory.
|
| -
|
| -if [ ! -d "build" ]; then
|
| - echo "Please run pub build first"
|
| - exit
|
| -fi
|
| -
|
| -if [ ! -d "deployed" ]; then
|
| - echo "Run this script from the client directory"
|
| - exit
|
| -fi
|
| -
|
| -EXCLUDE="--exclude bootstrap_css"
|
| -EXCLUDE="$EXCLUDE --exclude *.map"
|
| -EXCLUDE="$EXCLUDE --exclude *.concat.js"
|
| -EXCLUDE="$EXCLUDE --exclude *.scriptUrls"
|
| -EXCLUDE="$EXCLUDE --exclude *.precompiled.js"
|
| -EXCLUDE="$EXCLUDE --exclude main.*"
|
| -
|
| -rsync -av --progress build/web/ deployed/web/ $EXCLUDE
|
|
|