aboutsummaryrefslogtreecommitdiff
path: root/calculate_average_thomaswue.sh
diff options
context:
space:
mode:
authorAlexander Yastrebov <yastrebov.alex@gmail.com>2024-01-11 09:05:13 +0100
committerGitHub <noreply@github.com>2024-01-11 09:05:13 +0100
commitc9183a5aeb6d8f3518f49135b8ddd636ec5a4246 (patch)
treec4b702bd1d6dc786362f78a98c07ceec5f06629d /calculate_average_thomaswue.sh
parent8602a355048a8d34d95611e7f80c00e1ea9b853a (diff)
Remove additional_build_steps_*.sh support (#301)
There is no need to have it as preparation steps could be fit into prepare_*.sh
Diffstat (limited to 'calculate_average_thomaswue.sh')
-rwxr-xr-xcalculate_average_thomaswue.sh9
1 files changed, 4 insertions, 5 deletions
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