| Index: third_party/pkg/angular/scripts/test-expression-extractor.sh
|
| diff --git a/third_party/pkg/angular/scripts/test-expression-extractor.sh b/third_party/pkg/angular/scripts/test-expression-extractor.sh
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..2676828c3e1d1f75f92ec409ed907c206794d8f7
|
| --- /dev/null
|
| +++ b/third_party/pkg/angular/scripts/test-expression-extractor.sh
|
| @@ -0,0 +1,18 @@
|
| +#!/bin/bash
|
| +
|
| +set -e
|
| +
|
| +(cd demo/todo; pub get)
|
| +
|
| +OUT=$(mktemp XXX.dart)
|
| +
|
| +dart bin/expression_extractor.dart demo/todo/main.dart demo/todo /dev/null /dev/null $OUT
|
| +
|
| +if [[ -e $OUT ]]; then
|
| + echo "Expression extractor created an output file"
|
| + rm $OUT
|
| + exit;
|
| +fi;
|
| +
|
| +# The file did not exist, exit with error.
|
| +exit 1
|
|
|