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

Side by Side Diff: third_party/pkg/angular/scripts/travis/setup.sh

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
1 #!/bin/bash 1 #!/bin/bash
2 2
3 set -e 3 set -e
4 4
5 case $( uname -s ) in 5 case $( uname -s ) in
6 Linux) 6 Linux)
7 DART_SDK_ZIP=dartsdk-linux-x64-release.zip 7 DART_SDK_ZIP=dartsdk-linux-x64-release.zip
8 DARTIUM_ZIP=dartium-linux-x64-release.zip 8 DARTIUM_ZIP=dartium-linux-x64-release.zip
9 ;; 9 ;;
10 Darwin) 10 Darwin)
11 DART_SDK_ZIP=dartsdk-macos-x64-release.zip 11 DART_SDK_ZIP=dartsdk-macos-x64-release.zip
12 DARTIUM_ZIP=dartium-macos-ia32-release.zip 12 DARTIUM_ZIP=dartium-macos-ia32-release.zip
13 ;; 13 ;;
14 esac 14 esac
15 15
16 CHANNEL=`echo $JOB | cut -f 2 -d -` 16 CHANNEL=`echo $JOB | cut -f 2 -d -`
17 echo Fetch Dart channel: $CHANNEL 17 echo Fetch Dart channel: $CHANNEL
18 18
19 echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest /sdk/$DART_SDK_ZIP 19 echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest /sdk/$DART_SDK_ZIP
20 curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest /sdk/$DART_SDK_ZIP > $DART_SDK_ZIP 20 curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest /sdk/$DART_SDK_ZIP > $DART_SDK_ZIP
21 echo Fetched new dart version $(unzip -p $DART_SDK_ZIP dart-sdk/version) 21 echo Fetched new dart version $(unzip -p $DART_SDK_ZIP dart-sdk/version)
22 rm -rf dart-sdk 22 rm -rf dart-sdk
23 unzip $DART_SDK_ZIP > /dev/null 23 unzip $DART_SDK_ZIP > /dev/null
24 rm $DART_SDK_ZIP 24 rm $DART_SDK_ZIP
25 25
26 echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dar tium/$DARTIUM_ZIP 26 if [[ $TESTS != "dart2js" ]]; then
27 curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dar tium/$DARTIUM_ZIP > $DARTIUM_ZIP 27 echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/d artium/$DARTIUM_ZIP
28 unzip $DARTIUM_ZIP > /dev/null 28 curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/d artium/$DARTIUM_ZIP > $DARTIUM_ZIP
29 rm -rf dartium 29 unzip $DARTIUM_ZIP > /dev/null
30 rm $DARTIUM_ZIP 30 rm -rf dartium
31 mv dartium-* dartium 31 rm $DARTIUM_ZIP
32 mv dartium-* dartium;
33 fi
32 34
33 echo =========================================================================== == 35 echo =========================================================================== ==
34 . ./scripts/env.sh 36 . ./scripts/env.sh
35 $DART --version 37 $DART --version
36 $PUB install 38 $PUB install
OLDNEW
« no previous file with comments | « third_party/pkg/angular/scripts/travis/publish-docs.sh ('k') | third_party/pkg/angular/test/_specs.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698