Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Unified Diff: pkg/front_end/tool/fasta

Issue 3003743002: Move tools to tool folder. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/tool/fasta
diff --git a/pkg/front_end/tool/fasta b/pkg/front_end/tool/fasta
index 346a8e82e7fa11b9e8156cdf97c3a23c038ca281..4d098126b5be9242c4cace0c8ca083b4b3003450 100755
--- a/pkg/front_end/tool/fasta
+++ b/pkg/front_end/tool/fasta
@@ -15,14 +15,16 @@ KERNEL_BIN="${REPO_DIR}/pkg/kernel/bin"
function stop {
echo "$@" >&2
- exit 1
+ exit 2
}
export DART_CONFIGURATION=${DART_CONFIGURATION:-ReleaseX64}
case "${1//_/-}" in
abcompile) SCRIPT="${TOOL_DIR}/abcompile.dart";;
- analyzer-compile) SCRIPT="${TOOL_DIR}/analyzer_compile.dart";;
+ analyzer-compile)
+ stop "'$1' isn't supported anymore, please use 'compile' instead."
Siggi Cherem (dart-lang) 2017/08/23 20:17:35 we could also just delete this - not sure anyone i
ahe 2017/08/24 11:52:02 That's very likely. I think I'll remove this and "
+ ;;
compile) SCRIPT="${TOOL_DIR}/compile.dart";;
compile-platform) SCRIPT="${TOOL_DIR}/compile_platform.dart";;
compile-platform-dartk)
@@ -35,7 +37,9 @@ case "${1//_/-}" in
logd) SCRIPT="${TOOL_DIR}/log_collector.dart";;
outline) SCRIPT="${TOOL_DIR}/outline.dart";;
parser) SCRIPT="${TOOL_DIR}/parser.dart";;
- run) SCRIPT="${TOOL_DIR}/run.dart";;
+ run)
+ stop "'$1' isn't supported anymore, please use 'kernel-service' instead."
+ ;;
scanner) SCRIPT="${TOOL_DIR}/scanner.dart";;
dump-partial) SCRIPT="${TOOL_DIR}/dump_partial.dart";;
dump-ir)

Powered by Google App Engine
This is Rietveld 408576698