move the engine download code to dart (#3180)
* move the engine download code to dart * fix populating the bin/cache/pkg dir
This commit is contained in:
@@ -29,7 +29,6 @@ DART="$DART_SDK_PATH/bin/dart"
|
||||
REVISION=`(cd "$FLUTTER_ROOT"; git rev-parse HEAD)`
|
||||
if [ ! -f "$SNAPSHOT_PATH" ] || [ ! -f "$STAMP_PATH" ] || [ `cat "$STAMP_PATH"` != "$REVISION" ] || [ "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]; then
|
||||
"$FLUTTER_ROOT/bin/cache/update_dart_sdk.sh"
|
||||
"$FLUTTER_ROOT/bin/cache/update_engine.sh"
|
||||
|
||||
echo Building flutter tool...
|
||||
FLUTTER_DIR="$FLUTTER_ROOT/packages/flutter"
|
||||
|
||||
Reference in New Issue
Block a user