2020-07-09 07:27:20 -07:00
|
|
|
#!/bin/bash
|
2020-07-01 11:09:01 -07:00
|
|
|
|
|
|
|
echo "java version"
|
|
|
|
java -version
|
|
|
|
|
2021-06-24 22:07:36 -07:00
|
|
|
echo "Generating Java (Antlr)"
|
2022-10-15 12:13:02 -07:00
|
|
|
cd java_tools
|
2022-07-28 12:27:01 -07:00
|
|
|
./gradlew :config_definition:generateGrammarSource
|
|
|
|
cd ..
|
2021-06-24 22:07:36 -07:00
|
|
|
|
2020-07-01 11:09:01 -07:00
|
|
|
echo "Building java console"
|
|
|
|
pwd
|
|
|
|
cd java_console
|
|
|
|
ant clean clean_out_folder jar
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
[ -e java_console_binary/rusefi_console.jar ] || { echo "CONSOLE COMPILATION FAILED"; exit 1; }
|
|
|
|
echo "java console looks good"
|
2022-04-25 17:37:16 -07:00
|
|
|
|
|
|
|
echo "Building TS plugin"
|
2022-10-15 12:50:01 -07:00
|
|
|
cd java_tools
|
2022-04-25 17:37:16 -07:00
|
|
|
./gradlew :ts_plugin_launcher:shadowJar
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
[ -e java_tools/ts_plugin_launcher/build/jar/rusefi_ts_plugin_launcher.jar ] || { echo "PLUGIN COMPILATION FAILED"; exit 1; }
|
|
|
|
echo "TS plugin looks good"
|