blob: 6e63dd9c9fd627c751322182d685259db6297dc9 [file] [log] [blame]
#!/bin/bash
set -ex
PATH="$HOME/depot_tools:$PATH"
cd ..
PATH=$(pwd)/third_party/dart/tools/sdks/dart-sdk/bin:$PATH
# Build the dart UI files
flutter/tools/gn --unoptimized
ninja -C out/host_debug_unopt generate_dart_ui
# Analyze the dart UI
flutter/ci/analyze.sh
flutter/ci/licenses.sh
# Check that dart libraries conform
cd flutter/web_sdk
pub get
cd ..
dart web_sdk/test/api_conform_test.dart