Set up for GraalVM native-image
This commit is contained in:
parent
ea8c9ea049
commit
3d2c4719a6
|
@ -3,7 +3,9 @@
|
||||||
:url "http://example.com/FIXME"
|
:url "http://example.com/FIXME"
|
||||||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||||
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
||||||
:dependencies [[org.clojure/clojure "1.10.3"]]
|
:dependencies [[org.clojure/clojure "1.11.1"]]
|
||||||
:plugins [[lein-cljfmt "0.8.0"]]
|
:plugins [[lein-cljfmt "0.8.0"]]
|
||||||
:repl-options {:init-ns ludus.core}
|
:repl-options {:init-ns ludus.core}
|
||||||
:main ludus.core)
|
:main ludus.core
|
||||||
|
:profiles {:uberjar {:aot :all}}
|
||||||
|
)
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[ludus.parser :as parser]
|
[ludus.parser :as parser]
|
||||||
[ludus.interpreter :as interpreter]
|
[ludus.interpreter :as interpreter]
|
||||||
[ludus.show :as show]
|
[ludus.show :as show]
|
||||||
[clojure.pprint :as pp]))
|
[clojure.pprint :as pp])
|
||||||
|
(:gen-class))
|
||||||
|
|
||||||
(defn- run [source]
|
(defn- run [source]
|
||||||
(let [scanned (scanner/scan source)]
|
(let [scanned (scanner/scan source)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user