Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
fixes #1
  • Loading branch information
taylorwood committed Jul 15, 2018
1 parent 8d48c5d commit e1fa6e0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [Unreleased]

## [0.3.0] - 2018-07-15
### Added
- Support more conventional `GRAALVM_HOME` path format i.e. `$GRAALVM_HOME/bin/native-image`
- Use `GRAALVM_HOME` environment variable if `:graal-bin` is unspecified
### Fixed
- The consuming project's `:uberjar` profile was not merged by default.
Specifying a `:native-image` profile will override this behavior.
- Regression from 0.2.0: the consuming project's `:uberjar` profile was not merged by default.
This default behavior can be overriden by specifying a `:native-image` profile.

## [0.2.0] - 2018-05-27
### Added
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `lein native-image` command compiles your project then uses GraalVM's [`nati
```clojure
(defproject my-app "0.1.0"
:dependencies [[org.clojure/clojure "1.9.0"]]
:plugins [[io.taylorwood/lein-native-image "0.2.0"]]
:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
:native-image {:graal-bin "/path/to/graalvm-1.0.0-rc1/Contents/Home/bin"
:name "my-app"}
:main ^:skip-aot my-app.core
Expand All @@ -31,7 +31,7 @@ The `lein native-image` command compiles your project then uses GraalVM's [`nati
See the [examples](https://github.com/taylorwood/lein-native-image/tree/master/examples) directory for apps
that can be compiled to native images with GraalVM.

1. Put `[io.taylorwood/lein-native-image "0.2.0"]` into the `:plugins` vector of your project.clj, or in your Leiningen user profile.
1. Put `[io.taylorwood/lein-native-image "0.3.0"]` into the `:plugins` vector of your project.clj, or in your Leiningen user profile.

1. Optionally specify a custom image name, path to GraalVM's `bin` directory or `native-image` path, or `native-image` CLI options in your project.clj:
```clojure
Expand All @@ -50,7 +50,7 @@ that can be compiled to native images with GraalVM.

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

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.2.0"]]
:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
:target-path "target/%s"
:native-image {:graal-bin "/path/to/graalvm-1.0.0-rc2/Contents/Home/bin"
: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.2.0"]]
:plugins [[io.taylorwood/lein-native-image "0.3.0"]]
: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 project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject io.taylorwood/lein-native-image "0.3.0-SNAPSHOT"
(defproject io.taylorwood/lein-native-image "0.3.0"
: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 e1fa6e0

Please sign in to comment.