aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/debug/Gen
blob: c5c4d6ec60d0f454a52887edee179b60c9186508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env bash

DIR="$( cd "$( dirname "$0" )" && pwd )"

SOURCE=$DIR/Gen.scala
CLASS=./Gen.class

if [ ! -e $CLASS ] || [ $SOURCE -nt $CLASS ]; then
  ./bin/dotc $DIR/Gen.scala
fi

./bin/dotr Gen $@