From d1764c64ed361e215e4529030b7d5824c332f069 Mon Sep 17 00:00:00 2001 From: Clemens Date: Thu, 7 Mar 2024 13:29:35 +0100 Subject: [PATCH] added lein inst --- project.clj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/project.clj b/project.clj index 9f6cfdd..41813ba 100644 --- a/project.clj +++ b/project.clj @@ -33,4 +33,16 @@ ["vcs" "commit"] ["vcs" "tag" "v" "--no-sign"] ["change" "version" "leiningen.release/bump-version"]] + :aliases {"native" ["shell" + "native-image" + "--report-unsupported-elements-at-runtime" + "--initialize-at-build-time" + "-jar" "target/uberjar/c4k-website-standalone.jar" + "-H:ResourceConfigurationFiles=graalvm-resource-config.json" + "-H:Log=registerResource" + "-H:Name=target/graalvm/${:name}"] + "inst" ["shell" + "sh" + "-c" + "lein uberjar && sudo install -m=755 target/uberjar/c4k-website-standalone.jar /usr/local/bin/c4k-website-standalone.jar"]} )