Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwood committed Jul 26, 2019
1 parent 0daece2 commit bd52ce4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. This change

## [Unreleased]

## [0.3.1] - 2019-07-25
### Added
- Warning for missing `native-image` on post-RC releases of GraalVM.
### Fixed
- Use `.cmd` extension on Windows hosts.

## [0.3.0] - 2018-07-15
### Added
- Support more conventional `GRAALVM_HOME` path format i.e. `$GRAALVM_HOME/bin/native-image`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See the [examples](examples) directory for projects that can be compiled to nati
or `native-image` CLI options:
```clojure
(defproject my-app "0.1.0"
:plugins [[io.taylorwood/lein-native-image "0.3.0"]] ;; or in ~/.lein/profiles.clj
:plugins [[io.taylorwood/lein-native-image "0.3.1"]] ;; or in ~/.lein/profiles.clj

:native-image {:name "my-app" ;; name of output image, optional
:graal-bin "/path/to/graalvm/" ;; path to GraalVM home, optional
Expand Down Expand Up @@ -74,8 +74,8 @@ See the [examples](examples) directory for projects that can be compiled to nati

You can also specify these in your Leiningen user profile `~/.lein/profiles.clj`:
```clojure
{:user {:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
:native-image {:graal-bin "/path/to/graalvm-1.0.0-rc1/Contents/Home/bin"}}}
{:user {:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:native-image {:graal-bin "/path/to/graalvm-ce-19.0.0/Contents/Home/bin"}}}
```

1. Build a native image from your project:
Expand Down
2 changes: 1 addition & 1 deletion examples/http-api/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[compojure "1.6.1"]
[clj-http-lite "0.3.0"]
[hickory "0.7.1"]]
:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:target-path "target/%s"
:native-image {:graal-bin "/path/to/graalvm-1.0.0-rc2/Contents/Home/bin"
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
Expand Down
2 changes: 1 addition & 1 deletion examples/jdnsmith/project.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defproject jdnsmith "0.1.0-SNAPSHOT"
:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/data.json "0.2.6"]]
Expand Down
2 changes: 1 addition & 1 deletion examples/nlp/project.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defproject nlp "0.1.0-SNAPSHOT"
:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:dependencies [[org.clojure/clojure "1.9.0"]
[edu.stanford.nlp/stanford-corenlp "3.9.1"]
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject io.taylorwood/lein-native-image "0.3.1-SNAPSHOT"
(defproject io.taylorwood/lein-native-image "0.3.1"
:description "A Leiningen plugin for generating GraalVM native images from your project."
:url "https://github.com/taylorwood/lein-native-image"
:license {:name "The MIT License"
Expand Down

0 comments on commit bd52ce4

Please sign in to comment.