Merge pull request #2265 from johnmccutchan/update_dart_sdk

Move Dart SDK to 1.15-dev.4 to support _embedder.yaml
This commit is contained in:
John McCutchan
2016-03-02 10:38:59 -08:00
2 changed files with 9 additions and 2 deletions

View File

@@ -1 +1 @@
1.14.1
1.15.0-dev.4.0

View File

@@ -27,7 +27,14 @@ if [ ! -f "$DART_SDK_STAMP_PATH" ] || [ "$DART_SDK_VERSION" != `cat "$DART_SDK_S
;;
esac
DART_SDK_URL="http://storage.googleapis.com/dart-archive/channels/stable/raw/$DART_SDK_VERSION/sdk/$DART_ZIP_NAME"
DART_CHANNEL="stable"
if [[ $DART_SDK_VERSION == *"-dev."* ]]
then
DART_CHANNEL="dev"
fi
DART_SDK_URL="http://storage.googleapis.com/dart-archive/channels/$DART_CHANNEL/raw/$DART_SDK_VERSION/sdk/$DART_ZIP_NAME"
rm -rf -- "$DART_SDK_PATH"
mkdir -p -- "$DART_SDK_PATH"