Skip to content

Commit

Permalink
Merge pull request #24 from kepler16/fix/non-snapthot-release-for-bin…
Browse files Browse the repository at this point in the history
…aries

fix: binaries are not snapshots
  • Loading branch information
armed authored May 21, 2024
2 parents 1827466 + 58dba25 commit c619c0a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ default:
clean:
clojure -T:build clean

build-uber-native: clean
clojure -T:kmono run :exec '"clojure -T:build uber-for-native"'

build-uber-native *ARGS: clean
clojure -T:kmono run :exec '"clojure -T:build uber-for-native"' {{ ARGS }}

native-image:
$GRAALVM_HOME/bin/native-image \
Expand All @@ -19,7 +18,9 @@ native-image:
-H:+ReportExceptionStackTraces \
--initialize-at-build-time=org.eclipse.aether.transport.http.HttpTransporterFactory

build-native *ARGS: build-uber-native native-image
build-native *ARGS:
just build-uber-native {{ ARGS }} && \
just native-image && \
rm -rf ./bin && mkdir bin && \
cp target/kmono ./bin/kmono

Expand Down

0 comments on commit c619c0a

Please sign in to comment.