| #!/bin/bash |
| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| set -x |
| |
| $FUCHSIA_DIR/third_party/dart-pkg/git/flutter/bin/flutter \ |
| packages pub get intl_translation:generate_from_arb |
| |
| $FUCHSIA_DIR/third_party/dart-pkg/git/flutter/bin/flutter \ |
| packages pub run intl_translation:generate_from_arb \ |
| --output-dir=lib/localization \ |
| lib/*strings.dart \ |
| resources/*.arb |
| |
| rm .packages pubspec.lock |
| rm -fr .dart_tool |