This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-23
Channels
- # beginners (169)
- # boot (8)
- # cider (20)
- # cljdoc (66)
- # cljs-dev (1)
- # cljsrn (1)
- # clojure (185)
- # clojure-greece (11)
- # clojure-italy (16)
- # clojure-nl (5)
- # clojure-spec (16)
- # clojure-uk (39)
- # clojurescript (11)
- # cursive (26)
- # data-science (2)
- # datavis (1)
- # datomic (40)
- # emacs (10)
- # figwheel-main (64)
- # graphql (10)
- # hyperfiddle (1)
- # jobs (2)
- # leiningen (9)
- # luminus (3)
- # nyc (1)
- # off-topic (19)
- # om (1)
- # onyx (6)
- # pedestal (2)
- # re-frame (35)
- # reagent (17)
- # ring-swagger (9)
- # rum (1)
- # shadow-cljs (42)
- # spacemacs (8)
- # specter (7)
- # tools-deps (4)
- # yada (6)
Hey! Is there a way to use git submodules as libraries in Lein project? IIUC, Lein checkouts just adds classpath to my project, but I want to use my library as fully-fledged library with it’s own dependencies, etc.
How often do the submodules change? Could you just use lein install
?
Yeah, something like that. Would let you use your lib as a dependency locally
I wasn’t sure that it’s possible, after all, when I build my project, deps of library should somehow “be imported”. But if you say so, I’ll try it. Thanks!
It should import your lib if you build an uberjar
I am looking at the :scm option of lein projects and wondering about the nested :dir option
:scm {:name "git"
:tag "098afd745bcd"
:url ""
;; Allows you to use a repository in a different directory than the
;; project's root, for instance, if you had multiple projects in a
;; single git repository.
:dir ".."}
I have a repo ‘matrix’ that includes both my JS and CLJS versions, where the home of the project.clj is matrix/cljs/matrix
. I would try cljs/matrix as the
:dir` but the example of ".."
scares me. That is the parent of my project directory, in fact my home directory! Confused...Hmmm, #cljdoc is back to complaining about no SCM information. Could someone familiar with leiningen fill me in on the :dir option to the :scm block? My situation is indeed unorthodox with the CLJS project as a (nested) subdirectory of the repo directory. Thx.
⬆️ resolved 🙂
Hmmm, #cljdoc is back to complaining about no SCM information. Could someone familiar with leiningen fill me in on the :dir option to the :scm block? My situation is indeed unorthodox with the CLJS project as a (nested) subdirectory of the repo directory. Thx.