use vendored dart sdk; check the expected version of flutter (#3831)

* use vendored dart sdk; check the expected version of flutter

* search up directories looking for the flutter root
This commit is contained in:
Devon Carew
2016-05-10 16:21:30 -07:00
parent eec3fc60f1
commit 826936cd33
7 changed files with 48 additions and 20 deletions

View File

@@ -37,14 +37,6 @@ if [ ! -f "$SNAPSHOT_PATH" ] || [ ! -f "$STAMP_PATH" ] || [ `cat "$STAMP_PATH"`
echo $REVISION > "$STAMP_PATH"
fi
# Add our internalized version of the Dart SDK to the path ahead of any other
# versions that might be installed on this machine.
#
# TODO(abarth): We should teach flutter_tools to our version of the Dart SDK
# explicitly instead of relying upon the PATH.
#
export PATH="$DART_SDK_PATH/bin:$PATH"
set +e
if [ $FLUTTER_DEV ]; then