Incorrect cgx directory version 4.0.1, should be 4.0.2
The cgx version is hardcoded into the script
Implicit script requirement to be invoked from cgx directory
This is a purposed solution to the above issues 1,2 and 3:
#!/bin/bash
# get the cgx script dir
cgxDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# activate cgx from its home dir
cd $cgxDIR
cgxJarFile=$(realpath $(find . -name corewars*.jar))
java -cp $cgxJarFile il.co.codeguru.corewars8086.CoreWarsEngine
Strongly suggest same treatment to cgx.bat
I could submit a pull requerst, but the deployment files are not included in the project code.
cgx.sh has 3 issues.
This is a purposed solution to the above issues 1,2 and 3:
Strongly suggest same treatment to cgx.bat I could submit a pull requerst, but the deployment files are not included in the project code.