mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-17 18:03:06 +09:00
Add java htmlparser sources that match the original 52-level state
https://hg.mozilla.org/projects/htmlparser/ Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d
This commit is contained in:
parent
3efecbe3cc
commit
36189e6a63
248 changed files with 62553 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue