blob: 4736a61c9c78e67c207606b8843829a40dc3723a [file] [log] [blame]
#!/bin/bash --
# Copyright (c) 2017, Google Inc. Please see the AUTHORS file for details.
# All rights reserved. Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
dartfmt -w $(find bin lib test -name \*.dart 2>/dev/null)
pub get
pub upgrade
dartanalyzer --strong --fatal-warnings --fatal-infos \
$(find bin lib test -name \*.dart 2>/dev/null)
pub run test