jvm-asm/build.sh

13 lines
226 B
Bash
Raw Normal View History

2023-12-10 14:00:11 +01:00
#!/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