blob: ab850405121b797702a370334dfb246765de5ce7 [file] [log] [blame]
#!/bin/bash
# Copyright 2020 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Build flutter build dashboard.
pushd dashboard > /dev/null
set -e
rm -rf build
flutter channel master
flutter upgrade
flutter doctor
flutter pub get
flutter config --enable-web
flutter build web --web-renderer=canvaskit --release
rm -rf ../app_dart/build
cp -r build ../app_dart/build
flutter clean
popd > /dev/null