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

Unified Diff: third_party/pkg/update_route_hierarchical.sh

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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 side-by-side diff with in-line comments
Download patch
« third_party/pkg/update_angular.sh ('K') | « third_party/pkg/update_perf.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/update_route_hierarchical.sh
diff --git a/third_party/pkg/update_route_hierarchical.sh b/third_party/pkg/update_route_hierarchical.sh
new file mode 100755
index 0000000000000000000000000000000000000000..5a66c4ee0e55b116ba7a3dc52111810fa4e62c5f
--- /dev/null
+++ b/third_party/pkg/update_route_hierarchical.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+# bail on error
+set -e
+
+readonly DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
+pushd $DIR > /dev/null
+
+echo "*** Deleting old version"
+rm -rf route_hierarchical
+
+echo "*** Syncing code"
+git clone https://github.com/dart-lang/route.git route_hierarchical
+
+pushd route_hierarchical > /dev/null
+git checkout experimental_hierarchical
+readonly REVISION=`git rev-parse HEAD`
+rm -rf .git
+
+echo "${REVISION}" >> REVISION
+echo "*** Updated to revision $REVISION"
Siggi Cherem (dart-lang) 2014/01/03 22:21:13 I'm ok either way, but since this code is so simil
« third_party/pkg/update_angular.sh ('K') | « third_party/pkg/update_perf.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698