summaryrefslogtreecommitdiffstats
path: root/tools/idegen/idegen.sh
blob: d7e6986d89070d9083bc6593e3cb72edc14742ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [ ! -d development ]; then
    echo "Error: Run from the root of the tree."
    exit 1
fi

idegenjar=`find out -name idegen.jar -follow | grep -v intermediates`
if [ "" = "$idegenjar" ]; then
    echo "Couldn't find idegen.jar. Please run make first."
else 
    java -cp $idegenjar Main
fi