Fork me on GitHub
#shadow-cljs
<
2019-08-02
>
isak14:08:42

@thheller nice, thanks!

teawaterwire15:08:10

i'm trying to setup ci on Gitlab for my shadow-cljs project, but everytime it does shadow-cljs release app it fetches again the clojure dependencies, is there a way to configure Shadow so i can try this approach for cache https://gitlab.com/gitlab-org/gitlab-ce/issues/52407#note_133093686 ?

nate17:08:45

it should be possible if you could point shadow-cljs to use a different directory for retrieving maven repositories, does shadow-cljs use env variables like MAVEN_OPTS ?

mavbozo17:08:57

i upgraded my shadow-cljs to latest version 2.8.42, and everytime I run shadow-cljs server, I get this error

shadow-cljs - config: /home/mavbozo/yolo/znet/machine/shadow-cljs.edn  cli version: 2.8.42  node: v11.6.0
shadow-cljs - updating dependencies
shadow-cljs - dependencies updated
Execution error (IllegalStateException) at com.google.common.base.Preconditions/checkState (Preconditions.java:823).
Externs must contain builtin for env BROWSER: whatwg_console.js

Full report at:
/tmp/clojure-9009315503829928826.edn

mavbozo17:08:40

I tried to downgrade the version and It works fine in shadow-cljs version 2.8.39

shadow-cljs - config: /home/mavbozo/yolo/znet/machine/shadow-cljs.edn  cli version: 2.8.39  node: v11.6.0
shadow-cljs - updating dependencies
shadow-cljs - dependencies updated
shadow-cljs - server version: 2.8.39 running at 
shadow-cljs - nREPL server started on port 41083

nate18:08:24

is there a way to override :mvn/local-repo variable from shadow-cljs ?

thheller20:08:56

@nisehl :maven {:local-repo "foo"} in shadow-cljs.edn

thheller20:08:13

@mavbozo thats odd. do you happen to have some closure-library stuff in your dependencies?

thheller20:08:55

@teawaterwire shadow-cljs info will download all deps when using shadow-cljs.edn to manage deps

ro623:08:50

is it possible to have a .cljc and .cljs file with the same name and namespace?

thheller07:08:46

if the .cljc is strictly a macro namespace yes. otherwise no.