| OLD | NEW |
| 1 #!/bin/bash | 1 #!/usr/bin/env bash |
| 2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 # | 5 # |
| 6 # This script executes code generation tools found in the analyzer | 6 # This script executes code generation tools found in the analyzer |
| 7 # "tool" directory. | 7 # "tool" directory. |
| 8 | 8 |
| 9 set -e | 9 set -e |
| 10 | 10 |
| 11 function follow_links() { | 11 function follow_links() { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 41 PKG_DIR="${BUILD_DIR}/packages" | 41 PKG_DIR="${BUILD_DIR}/packages" |
| 42 | 42 |
| 43 DART="${BIN_DIR}/dart" | 43 DART="${BIN_DIR}/dart" |
| 44 | 44 |
| 45 declare -a VM_OPTIONS | 45 declare -a VM_OPTIONS |
| 46 VM_OPTIONS+=("--checked") | 46 VM_OPTIONS+=("--checked") |
| 47 VM_OPTIONS+=("--package-root=${PKG_DIR}") | 47 VM_OPTIONS+=("--package-root=${PKG_DIR}") |
| 48 | 48 |
| 49 cd "${SCRIPT_DIR}" | 49 cd "${SCRIPT_DIR}" |
| 50 "${DART}" "${VM_OPTIONS[@]}" "task_dependency_graph/generate.dart" | 50 "${DART}" "${VM_OPTIONS[@]}" "task_dependency_graph/generate.dart" |
| 51 "${DART}" "${VM_OPTIONS[@]}" "summary/generate.dart" |
| OLD | NEW |