Analyze framework Dart code in presubmit tests (flutter/engine#13037)
This fixes https://github.com/flutter/flutter/issues/38848
This commit is contained in:
@@ -54,6 +54,12 @@ task:
|
||||
cd $FRAMEWORK_PATH/flutter/dev/integration_tests/web
|
||||
../../../bin/flutter config --local-engine=host_debug_unopt --no-analytics --enable-web
|
||||
../../../bin/flutter --local-engine=host_debug_unopt build web -v
|
||||
analyze_framework_script: |
|
||||
cd $FRAMEWORK_PATH/flutter
|
||||
rm -rf bin/cache/pkg/sky_engine
|
||||
cp -r $ENGINE_PATH/src/out/host_debug_unopt/gen/dart-pkg/sky_engine bin/cache/pkg/
|
||||
bin/flutter update-packages --local-engine=host_debug_unopt
|
||||
bin/flutter analyze --dartdocs --flutter-repo --local-engine=host_debug_unopt
|
||||
test_framework_script: |
|
||||
cd $FRAMEWORK_PATH/flutter/packages/flutter
|
||||
../../bin/flutter test --local-engine=host_debug_unopt
|
||||
|
||||
Reference in New Issue
Block a user