Set up for GraalVM native-image

This commit is contained in:
Scott Richmond 2022-04-28 19:27:35 -04:00
parent ea8c9ea049
commit 3d2c4719a6
2 changed files with 6 additions and 3 deletions

View File

@ -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}}
)

View File

@ -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)]