From 7a30f652d8ca8bce53161ee28b7bca5eb65335f9 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 30 Dec 2018 23:56:23 -0400 Subject: Added an uberjar profile. --- luxc/project.clj | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'luxc/project.clj') 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"] -- cgit v1.2.3