Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: runtime/bin/vmservice/client/deploy.sh

Issue 199633007: Switch to using pub build instead of custom build_.dart script (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # This script copies the build outputs produced by `pub build` to
4 # the deployed directory.
5
6 if [ ! -d "build" ]; then
7 echo "Please run pub build first"
8 exit
9 fi
10
11 if [ ! -d "deployed" ]; then
12 echo "Run this script from the client directory"
13 exit
14 fi
15
16 EXCLUDE="--exclude bootstrap_css"
17 EXCLUDE="$EXCLUDE --exclude *.scriptUrls"
18 EXCLUDE="$EXCLUDE --exclude *.precompiled.js"
19 EXCLUDE="$EXCLUDE --exclude main.*"
20
21 rsync -av --progress build/web/ deployed/web/ $EXCLUDE
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698