This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-02
Channels
- # announcements (26)
- # architecture (29)
- # babashka (8)
- # beginners (91)
- # calva (70)
- # cider (7)
- # circleci (2)
- # cljs-dev (1)
- # clojure (79)
- # clojure-australia (2)
- # clojure-dev (3)
- # clojure-europe (40)
- # clojure-italy (2)
- # clojure-losangeles (4)
- # clojure-nl (4)
- # clojure-uk (4)
- # clojurescript (34)
- # cursive (13)
- # datomic (16)
- # defnpodcast (2)
- # emacs (11)
- # events (1)
- # fulcro (13)
- # graalvm (17)
- # gratitude (3)
- # instaparse (10)
- # introduce-yourself (2)
- # jobs (1)
- # jobs-discuss (5)
- # juxt (3)
- # kaocha (5)
- # meander (5)
- # membrane (2)
- # nextjournal (43)
- # off-topic (42)
- # pathom (52)
- # pedestal (8)
- # portal (3)
- # rdf (2)
- # re-frame (10)
- # reveal (21)
- # shadow-cljs (56)
- # slack-help (7)
- # vim (33)
- # xtdb (43)
So here is a weird question. I have https://github.com/thheller/shadow-experiments I've been working on for a long time now that I use in many different projects. Since I haven't done a proper release of that lib yet I just include it via :source-paths ["src/main" "../shadow-experiments/src/main"]
in the projects (via lein)
That is definitely weird. I’m not sure whether that’s officially supposed to work, but that behaviour is definitely buggy. I’ll take a look.
somehow that seems to confuse Cursive and I keep piling up .iml
files. Dunno exactly when they appear but it might have something to do with leinigen refresh button
-rwxrwxrwx 1 thheller thheller 251 Mar 13 2021 shadow-experiments-1.iml*
-rwxrwxrwx 1 thheller thheller 251 Feb 14 2021 shadow-experiments-2.iml*
-rwxrwxrwx 1 thheller thheller 253 Jan 13 08:07 shadow-experiments-3.iml*
-rwxrwxrwx 1 thheller thheller 6334 Jan 10 18:28 shadow-experiments-4.iml*
-rwxrwxrwx 1 thheller thheller 253 Feb 2 15:56 shadow-experiments.iml*
should I just give up on this pattern? I realize its a hack but it is a workarround for lein checkouts having other issues 😛
I don't mind the extra .iml files but sometimes in the project itself it sort of forgets about itself and all source paths and stuff are gone
when I press the leiningen refresh button I think thats when it recreates a new iml file and basically recreates the project from scratch
this may/may not help but another approach could be using a git reference in your project.clj
we're using reifyhealth/lein-git-down
for that