Make ant optional, for grammar edits only
diff --git a/INSTALL.md b/INSTALL.md index 5b491ff..74107fd 100644 --- a/INSTALL.md +++ b/INSTALL.md
@@ -13,12 +13,12 @@ * Please install the following package updates: - * sudo apt-get install build-essential pkg-config ant tcsh swig google-perftools python3 python3-dev + * sudo apt-get install build-essential pkg-config tcsh swig google-perftools python3 python3-dev * If you don't intent to change the grammar: * sudo apt-get install default-jre * If you do intent to change the grammar: - * sudo apt-get install default-jdk + * sudo apt-get install default-jdk ant * Surelog Source code * git clone https://github.com/alainmarcel/Surelog.git
diff --git a/src/buildrelease.sh b/src/buildrelease.sh index 55d1d10..7e8bd6f 100755 --- a/src/buildrelease.sh +++ b/src/buildrelease.sh
@@ -19,7 +19,7 @@ echo "Generating Antlr parser" cd ../grammar -ant compile_cpp +java -cp ../antlr4/antlr4-4.7.2/tool/target/antlr4-4.7.2-complete.jar org.antlr.v4.Tool -Dlanguage=Cpp *.g4 cd ../src echo "Generating caching scheme"