Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b94254437c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 41 lines (36 sloc) 1.221 kb
#!/bin/bash
CWD="`pwd`"
CONNECTORDIR="$CWD/../zotero/connector/trunk"
EXTENSIONDIR="$CWD/../zotero/extension/trunk"
XPCOMDIR="$EXTENSIONDIR/chrome/content/zotero/xpcom"
FILES=("$CWD/src/zotero.js" \
"$XPCOMDIR/connector/cachedTypes.js" \
"$XPCOMDIR/date.js" \
"$XPCOMDIR/debug.js" \
"$XPCOMDIR/openurl.js" \
"$XPCOMDIR/rdf/uri.js" \
"$XPCOMDIR/rdf/term.js" \
"$XPCOMDIR/rdf/identity.js" \
"$XPCOMDIR/rdf/match.js" \
"$XPCOMDIR/rdf/rdfparser.js" \
"$XPCOMDIR/rdf/serialize.js" \
"$XPCOMDIR/rdf.js" \
"$XPCOMDIR/connector/translator.js" \
"$XPCOMDIR/translation/translate.js" \
"$CWD/src/translate_item.js" \
"$XPCOMDIR/connector/typeSchemaData.js" \
"$XPCOMDIR/utilities.js" \
"$CONNECTORDIR/common/zotero/http.js" \
"$CWD/src/translate_node.js")
# Put everything together
for f in "${FILES[@]}"
do
# Remove Windows CRs when bundling
tr -d '\r' < $f
echo ""
done>"$CWD/zotero_bundle.js"
# Copy translator testing resources
cp "$EXTENSIONDIR/chrome/content/zotero/tools/testTranslators/testTranslators.js" \
"$EXTENSIONDIR/chrome/content/zotero/tools/testTranslators/testTranslators.css" \
"$EXTENSIONDIR/chrome/content/zotero/tools/testTranslators/translatorTester.js" \
"$CWD/testTranslators"
Jump to Line
Something went wrong with that request. Please try again.