#!/bin/bash
set -e

LUAN="$(dirname "${BASH_SOURCE[0]}")"

for i in $LUAN/jars/* ; do CLASSPATH=$CLASSPATH:$i ; done
CLASSPATH=$(echo -n $CLASSPATH | sed 's/^://')

java -classpath "$CLASSPATH" luan.Luan "$@"
