diff options
author | Eduardo Julian | 2018-12-30 23:56:23 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-12-30 23:56:23 -0400 |
commit | 7a30f652d8ca8bce53161ee28b7bca5eb65335f9 (patch) | |
tree | be812d612c88df8d3c6e6e78ba9397502ecf6e33 | |
parent | 84cda3e64edf4c481c2200abb5e59976b8733c8e (diff) |
Added an uberjar profile.
-rw-r--r-- | luxc/project.clj | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/luxc/project.clj b/luxc/project.clj index d6fec5f0d..f7f7735ed 100644 --- a/luxc/project.clj +++ b/luxc/project.clj @@ -15,7 +15,6 @@ [org.clojure/core.match "0.2.1"] [org.ow2.asm/asm-all "5.0.3"]] :warn-on-reflection true - :main lux :repositories [["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"] ["releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]] :source-paths ["src"] @@ -23,11 +22,11 @@ :scm {:name "git" :url "https://github.com/LuxLang/lux.git"} - ;; :classifiers {:sources {:resource-paths ["src"]} - ;; :javadoc {:resource-paths ["src"]}} - - ;; :aot [lux] - + :main lux + :profiles {:uberjar {:classifiers {:sources {:resource-paths ["src"]} + :javadoc {:resource-paths ["src"]}} + :aot [lux]}} + :jvm-opts ^:replace ["-server" "-Xms2048m" "-Xmx2048m" "-Xss16m" "-XX:+OptimizeStringConcat"] |