OLD | NEW |
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) |
(...skipping 16 matching lines...) Expand all Loading... |
27 curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dar
tium/$DARTIUM_ZIP > $DARTIUM_ZIP | 27 curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dar
tium/$DARTIUM_ZIP > $DARTIUM_ZIP |
28 unzip $DARTIUM_ZIP > /dev/null | 28 unzip $DARTIUM_ZIP > /dev/null |
29 rm -rf dartium | 29 rm -rf dartium |
30 rm $DARTIUM_ZIP | 30 rm $DARTIUM_ZIP |
31 mv dartium-* dartium | 31 mv dartium-* dartium |
32 | 32 |
33 echo ===========================================================================
== | 33 echo ===========================================================================
== |
34 . ./scripts/env.sh | 34 . ./scripts/env.sh |
35 $DART --version | 35 $DART --version |
36 $PUB install | 36 $PUB install |
OLD | NEW |