OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 3 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # BSD-style license that can be found in the LICENSE.md file. | 5 # BSD-style license that can be found in the LICENSE.md file. |
6 | 6 |
7 set -ue | 7 set -ue |
8 | 8 |
9 DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | 9 DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) |
10 SERVICEC_DIR=$DIR/../../../tools/servicec | 10 SERVICEC_DIR=$DIR/../../../tools/servicec |
11 JAVA_DIR=$DIR/../java | 11 JAVA_DIR=$DIR/../java |
12 FLETCH_DIR=$DIR/../../.. | 12 FLETCH_DIR=$DIR/../../.. |
13 | 13 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 fi | 50 fi |
51 | 51 |
52 # Build snapshot. | 52 # Build snapshot. |
53 cd $FLETCH_DIR | 53 cd $FLETCH_DIR |
54 mkdir -p $DIR/TodoMVC/app/src/main/res/raw | 54 mkdir -p $DIR/TodoMVC/app/src/main/res/raw |
55 | 55 |
56 ./out/ReleaseIA32/dart \ | 56 ./out/ReleaseIA32/dart \ |
57 -c --packages=.packages \ | 57 -c --packages=.packages \ |
58 -Dsnapshot="$DIR/TodoMVC/app/src/main/res/raw/todomvc_snapshot" \ | 58 -Dsnapshot="$DIR/TodoMVC/app/src/main/res/raw/todomvc_snapshot" \ |
59 tests/fletchc/run.dart "$DIR/../todomvc.dart" | 59 tests/fletchc/run.dart "$DIR/../todomvc.dart" |
OLD | NEW |