first-commit

This commit is contained in:
Peter 'Pita' Martischka 2011-03-26 13:10:41 +00:00
commit 325c322a27
207 changed files with 35989 additions and 0 deletions

16
bin/generateJsDoc.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
if [ ! -x /usr/bin/java ]; then
echo "You need to install Java to generate the JSDocs!"
exit 1
fi
cd "../doc/jsdoc-toolkit"
JSRUN="jsrun.jar"
RUNJS="app/run.js"
OUTPUT_DIR="../jsdoc"
NODE_DIR="../../node"
TEMPLATE_DIR="templates/jsdoc"
java -jar $JSRUN $RUNJS -v -d=$OUTPUT_DIR -t=$TEMPLATE_DIR $NODE_DIR &&
echo "Look on http://code.google.com/p/jsdoc-toolkit/wiki/InlineDocs to get Tipps for better documentation"

15
bin/run.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
#if [[ $EUID -eq 0 ]]; then
# echo "You shouldn't start LinePad as root!" 1>&2
# exit 1
#fi
#if [ ! type -P node &>/dev/null ]; then
# echo "You have no node installed!" 1>&2
# exit 1
#fi
#|| { echo "I require foo but it's not installed. Aborting." >&2; exit 1; }
cd ../node
authbind node server.js

10
bin/runTests.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
type -P nodeunit &>/dev/null || {
echo "You need to install Nodeunit to run the tests!" >&2
echo "You can install it with npm" >&2
echo "Run: npm install nodeunit" >&2
exit 1
}
nodeunit ../tests