diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-01-16 07:32:48 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-01-16 07:32:48 -0500 |
commit | ed60101550022a2650edc41cd3a63b35fea836c5 (patch) | |
tree | e6967e47f27945599ec09c4401f7932751315beb /parser/html/java/htmlparser/mozilla-export-scripts/export-all.sh | |
parent | fa816e1ec69d865114b7d061905574038fbd425b (diff) | |
parent | 927c386dd8c9526d8695d0202a08735984dc7b31 (diff) | |
download | UXP-ed60101550022a2650edc41cd3a63b35fea836c5.tar UXP-ed60101550022a2650edc41cd3a63b35fea836c5.tar.gz UXP-ed60101550022a2650edc41cd3a63b35fea836c5.tar.lz UXP-ed60101550022a2650edc41cd3a63b35fea836c5.tar.xz UXP-ed60101550022a2650edc41cd3a63b35fea836c5.zip |
Merge branch 'html5-parser-work'
Diffstat (limited to 'parser/html/java/htmlparser/mozilla-export-scripts/export-all.sh')
-rw-r--r-- | parser/html/java/htmlparser/mozilla-export-scripts/export-all.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/parser/html/java/htmlparser/mozilla-export-scripts/export-all.sh b/parser/html/java/htmlparser/mozilla-export-scripts/export-all.sh new file mode 100644 index 000000000..9ae07d33d --- /dev/null +++ b/parser/html/java/htmlparser/mozilla-export-scripts/export-all.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env sh + +SCRIPT_DIR=`dirname $0` +source $SCRIPT_DIR/util.sh +SCRIPT_DIR=`abs $SCRIPT_DIR` + +if [ $# -eq 1 ] +then + MOZ_PARSER_PATH=`abs $1` +else + echo + echo "Usage: sh `basename $0` /path/to/mozilla-central/parser/html" + echo "Note that relative paths will work just fine." + echo + exit 1 +fi + +$SCRIPT_DIR/export-translator.sh $MOZ_PARSER_PATH +$SCRIPT_DIR/export-java-srcs.sh $MOZ_PARSER_PATH + +echo +echo "Now go to $MOZ_PARSER_PATH and run" +echo " java -jar javalib/translator.jar javasrc . nsHtml5AtomList.h" +echo |