Index: tool/command_test.sh |
diff --git a/tool/command_test.sh b/tool/command_test.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..a9bec2b0ef578cf10454457991a3e18c13829bdd |
--- /dev/null |
+++ b/tool/command_test.sh |
@@ -0,0 +1,10 @@ |
+#!/bin/bash |
+ |
+set -e # bail on error |
+ |
+# Some tests require being run from the package root |
+# switch to the root directory of dev_compiler |
+cd $( dirname "${BASH_SOURCE[0]}" )/.. |
+ |
+dart -c ./bin/dartdevc.dart compile --no-summarize \ |
+ -o test/command/hello.js test/command/hello.dart |