aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEduardo Julian2016-05-03 22:43:33 -0400
committerEduardo Julian2016-05-03 22:43:33 -0400
commit4155c6bc9f74be2fc55197f823a452c4ec923f54 (patch)
tree15323e33ac728df624f4f104cd9a3495cf991a2a /src
parent520ed8dc98644218c5aef7081187ef8d5acd7a60 (diff)
- Made a small adjustment when packaging the .jars of programs, to avoid packaging .jars that are necessary for the compiler itself, but not for the Lux program that was compiled.
Diffstat (limited to 'src')
-rw-r--r--src/lux/packager/program.clj5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lux/packager/program.clj b/src/lux/packager/program.clj
index 339c31894..54cc8a813 100644
--- a/src/lux/packager/program.clj
+++ b/src/lux/packager/program.clj
@@ -82,7 +82,10 @@
(->> ^java.net.URLClassLoader (ClassLoader/getSystemClassLoader)
(.getURLs)
(map #(.getFile ^java.net.URL %))
- (filter #(.endsWith ^String % ".jar"))))
+ (filter #(.endsWith ^String % ".jar"))
+ (filter #(not (or (.contains ^String % "org/ow2/asm/asm-all")
+ (.contains ^String % "org/clojure/core.match")
+ (.contains ^String % "org/clojure/clojure"))))))
(let [init-capacity (* 100 1024)
buffer-size 1024]