Skip to content

Commit a2ab1e0

Browse files
committed
Include GRAPE_VERSION in the binary (fixes #1)
1 parent dd4ca69 commit a2ab1e0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Add `-N`/`--no-line-numbers` to hide line numbers
77
* Read from `stdin` if no path is given
88
* Accept `-` as a special path to read from `stdin`. If `-` is used multiple times, only the first one is effective.
9+
* Fix `--version` that was failing with an `IllegalArgumentException` (#1)
910

1011
## 0.4.0 (2020/10/24)
1112

bin/compile.sh

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ lein with-profiles +native-image "do" clean, uberjar
2525
-J-Dclojure.spec.skip-macros=true \
2626
-J-Dclojure.compiler.direct-linking=true \
2727
-H:ReflectionConfigurationFiles=reflection.json \
28+
-H:IncludeResources=GRAPE_VERSION \
2829
--initialize-at-run-time=java.lang.Math\$RandomNumberGeneratorHolder \
2930
--initialize-at-build-time \
3031
-H:Log=registerResource: \

0 commit comments

Comments
 (0)