File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ cleanup() {
1616trap cleanup EXIT HUP INT QUIT TERM PIPE
1717cd " $tmpdir "
1818
19- git clone -vv https://chromium.googlesource.com/external/github.com/flutter/flutter
19+ git clone --single-branch -vv \
20+ https://dart.googlesource.com/external/github.com/flutter/flutter
2021
2122cd flutter
2223
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ cleanup() {
1717trap cleanup EXIT HUP INT QUIT TERM PIPE
1818pushd " $tmpdir "
1919
20- git clone -vv https://chromium.googlesource.com/external/github.com/flutter/flutter
20+ git clone --single-branch -vv \
21+ https://dart.googlesource.com/external/github.com/flutter/flutter
2122
2223pushd flutter
2324bin/flutter config --no-analytics
@@ -26,13 +27,15 @@ patch=$checkout/tools/patches/flutter-engine/${pinned_dart_sdk}.flutter.patch
2627if [ -e " $patch " ]; then
2728 git apply $patch
2829fi
30+
2931bin/flutter update-packages
3032popd
3133
3234# Directly in temp directory again.
3335mkdir src
3436pushd src
35- git clone -vv --depth 1 https://chromium.googlesource.com/external/github.com/flutter/engine flutter
37+ git clone --single-branch --depth=1 -vv \
38+ https://dart.googlesource.com/external/github.com/flutter/engine flutter
3639mkdir third_party
3740pushd third_party
3841ln -s $checkout dart
You can’t perform that action at this time.
0 commit comments