- Make a folder somewhere that will contain engine and framework checkouts. The rest of instructions assumes that
$fltpoints to that folder. - Into
$flt/fluttergetflutterby$ cd $flt $ git clone https://github.com/flutter/flutter
- Add
$flt/flutter/binto your path, runflutter doctorand fix issues if any are reported. - Into
$flt/enginegetenginecheckout following these instructions. Make sure to run dependency installation scripts as described there. - In
$flt/engine/src/third_party/dartswitch tomasterand pull uptoHEAD$ cd $flt/engine/src/third_party/dart $ git checkout master $ git pull --rebase
- In
$flt/engine/srcdo$ cd $flt/engine/src $ flutter/tools/gn --runtime-mode debug $ ninja -C out/host_debug
- In
$flt/flutterrunflutter update-packages - In
$flt/flutter/packages/flutterrun$ cd $flt/flutter/packages/flutter $ flutter test --local-engine host_debug
- If you want to run all tests then you can do
This will run the same tests that Travis is running.
$ cd $flt/flutter $ SHARD=tests ./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart --local-engine host_debug
Last active
April 10, 2018 13:10
-
-
Save mraleph/321ec21b07ceb63add925281e29a399f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment