siilisolutions / hedge

a serverless solution for clojure
Eclipse Public License 1.0
39 stars 6 forks source link

First build with multiple handlers does not properly use m2 cache #36

Open jikuja opened 6 years ago

jikuja commented 6 years ago

Hedge / cljs compiler bug:

Compiling ClojureScript...
• handler_core__calc/index.js
• handler_core__fail-hard/index.js
• handler_core__hello-json/index.js
• handler_core__hello/index.js
Retrieving ns-tracker-0.3.0.pom from https://repo.clojars.org/ (3k)
Retrieving ns-tracker-0.3.0.pom from https://repo.clojars.org/ (3k)
Retrieving ns-tracker-0.3.0.pom from https://repo.clojars.org/ (3k)
Retrieving ns-tracker-0.3.0.pom from https://repo.clojars.org/ (3k)
Retrieving tools.namespace-0.2.10.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving tools.namespace-0.2.10.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving tools.namespace-0.2.10.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving tools.namespace-0.2.10.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving java.classpath-0.2.2.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving java.classpath-0.2.2.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving java.classpath-0.2.2.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving java.classpath-0.2.2.pom from https://repo1.maven.org/maven2/ (1k)
Retrieving ns-tracker-0.3.0.jar from https://repo.clojars.org/ (7k)
Retrieving ns-tracker-0.3.0.jar from https://repo.clojars.org/ (7k)
Retrieving ns-tracker-0.3.0.jar from https://repo.clojars.org/ (7k)
Retrieving ns-tracker-0.3.0.jar from https://repo.clojars.org/ (7k)
Retrieving tools.namespace-0.2.10.jar from https://repo1.maven.org/maven2/ (18k)
Retrieving tools.namespace-0.2.10.jar from https://repo1.maven.org/maven2/ (18k)
Retrieving java.classpath-0.2.2.jar from https://repo1.maven.org/maven2/ (3k)
Retrieving java.classpath-0.2.2.jar from https://repo1.maven.org/maven2/ (3k)
Retrieving tools.namespace-0.2.10.jar from https://repo1.maven.org/maven2/ (18k)
Retrieving java.classpath-0.2.2.jar from https://repo1.maven.org/maven2/ (3k)
Retrieving tools.namespace-0.2.10.jar from https://repo1.maven.org/maven2/ (18k)
Retrieving java.classpath-0.2.2.jar from https://repo1.maven.org/maven2/ (3k)

Also see note here: https://github.com/boot-clj/boot-cljs/blob/master/docs/cljs.edn.md

Fixes: disable task level parallilization. How?