From c9183a5aeb6d8f3518f49135b8ddd636ec5a4246 Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Thu, 11 Jan 2024 09:05:13 +0100 Subject: Remove additional_build_steps_*.sh support (#301) There is no need to have it as preparation steps could be fit into prepare_*.sh --- calculate_average_thomaswue.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'calculate_average_thomaswue.sh') diff --git a/calculate_average_thomaswue.sh b/calculate_average_thomaswue.sh index 87a4fc4..58c6701 100755 --- a/calculate_average_thomaswue.sh +++ b/calculate_average_thomaswue.sh @@ -15,13 +15,12 @@ # limitations under the License. # - -if [ -f ./image_calculateaverage_thomaswue ]; then - echo "Picking up existing native image, delete the file to select JVM mode." 1>&2 - ./image_calculateaverage_thomaswue +if [ -f target/CalculateAverage_thomaswue_image ]; then + echo "Picking up existing native image 'target/CalculateAverage_thomaswue_image', delete the file to select JVM mode." 1>&2 + target/CalculateAverage_thomaswue_image else JAVA_OPTS="--enable-preview" - echo "Chosing to run the app in JVM mode as no native image was found, use additional_build_step_thomaswue.sh to generate." 1>&2 + echo "Chosing to run the app in JVM mode as no native image was found, use prepare_thomaswue.sh to generate." 1>&2 java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_thomaswue fi -- cgit v1.2.3