| Index: runtime/bin/vmservice/client/resources.sh
|
| diff --git a/runtime/bin/vmservice/client/resources.sh b/runtime/bin/vmservice/client/resources.sh
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..06868054f84d5d8b71b96ba7483a517c4c94c7d1
|
| --- /dev/null
|
| +++ b/runtime/bin/vmservice/client/resources.sh
|
| @@ -0,0 +1,23 @@
|
| +#!/bin/sh
|
| +
|
| +# NOTE: You should only have to run this script if you add a new resource
|
| +# (html, js, image) file.
|
| +
|
| +# This script generates lines for resources_sources.gypi (standalone)
|
| +# and devtools.gypi (Dartium) for the current deployed Observatory.
|
| +
|
| +if [ ! -d deployed ]; then
|
| + echo "Please run inside client directory"
|
| +fi
|
| +
|
| +PREFIX="vmservice/client"
|
| +echo "For resources_sources.gypi:"
|
| +for i in `find deployed/web/ -not -type d -not -path '*/\.*'`; do
|
| + echo "'$PREFIX/$i',"
|
| +done
|
| +
|
| +PREFIX="../../../../dart/runtime/bin/vmservice/client"
|
| +echo "For devtools.gypi:"
|
| +for i in `find deployed/web/ -not -type d -not -path '*/\.*'`; do
|
| + echo "'$PREFIX/$i',"
|
| +done
|
|
|