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

Unified Diff: packages/intl/test/message_extraction/debug.sh

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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: packages/intl/test/message_extraction/debug.sh
diff --git a/packages/intl/test/message_extraction/debug.sh b/packages/intl/test/message_extraction/debug.sh
new file mode 100755
index 0000000000000000000000000000000000000000..82c8b87a1baef7e62358e7a1f875a1e663d4f52f
--- /dev/null
+++ b/packages/intl/test/message_extraction/debug.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# The message_extraction_test.dart test uses a temporary directory and spawns
+# separate processes for each step. This can make it very painful to debug the
+# steps.
+# This script runs the steps individually, putting the files in the current
+# directory. You can run the script to run the test locally, or use this to
+# run individual steps or create them as launches in the editor.
+dart ../../bin/extract_to_arb.dart sample_with_messages.dart \
+part_of_sample_with_messages.dart
+dart make_hardcoded_translation.dart intl_messages.arb
+dart ../../bin/generate_from_arb.dart --generated-file-prefix=foo_ \
+sample_with_messages.dart part_of_sample_with_messages.dart \
+translation_fr.arb translation_de_DE.arb
« no previous file with comments | « packages/intl/test/intl_test.dart ('k') | packages/intl/test/message_extraction/embedded_plural_text_after.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698