This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-20
Channels
- # aws (1)
- # beginners (14)
- # boot (30)
- # cider (6)
- # clara (9)
- # cljsjs (3)
- # cljsrn (22)
- # clojure (247)
- # clojure-dusseldorf (75)
- # clojure-france (38)
- # clojure-italy (6)
- # clojure-japan (8)
- # clojure-nl (3)
- # clojure-russia (16)
- # clojure-serbia (4)
- # clojure-spec (1)
- # clojure-uk (53)
- # clojurescript (168)
- # consulting (3)
- # copenhagen-clojurians (1)
- # core-async (7)
- # css (1)
- # datascript (3)
- # datomic (8)
- # dirac (22)
- # events (1)
- # hoplon (2)
- # jobs (1)
- # jobs-discuss (2)
- # leiningen (4)
- # lumo (138)
- # mount (13)
- # nyc (1)
- # off-topic (24)
- # om (34)
- # onyx (15)
- # pedestal (30)
- # re-frame (9)
- # reagent (23)
- # ring (1)
- # ring-swagger (24)
- # rum (6)
- # spacemacs (6)
- # specter (51)
- # uncomplicate (14)
- # unrepl (1)
- # untangled (17)
- # yada (12)
Hello. Is it possible to specify a hook (via :hooks
in project.clj
) for a 3rd party plugin? Example: I want to activate a hook foo
ahead of running a plugin leiningen.bar/bar
.
I guess I found out the answer, I need to create the file .lein-classpath
with the task-source directory name as the content
Another question: How can I use hooks (by specifying :hooks
in project.clj
) defined in a Leiningen artifact (JAR)? How do I pull those dependencies for use by Leiningen to activate the hooks?
I have a lein project.clj
with a repo in :repositories
configured with :creds :gpg
. I have an GPG encrypted credentials.clj.gpg
file stored under my ~/.lein
profiles dir. This works.
The problem I have is that I’m being prompted in the terminal for my GPG passphrase every time Leiningen needs to access this file, e.g. lein deps
, lein install
, lein repl
, etc.
I have tried setting up an gpg agent daemon via eval "$(gpg-agent --daemon)"
, but I am still having Leiningen repeatedly request for my passphrase.
I have looked online, but haven’t been able to find an answer. Any suggestions from anyone here?