jvm-asm/build.sh

13 lines
226 B
Bash
Executable File

#!/bin/bash
set -e
if [ -z "$1" ]
then
echo "specify the project name to build"
else
jasmin -d bin src/$1.jas
ls -lah bin/$1.class
echo -e "executing ================================================\n"
cd bin
java $1
fi