Trouble with advanced macros

2019-03-28 Thread Nathan Rogers
(def dict {:key `(str "obj isn't defined in this scope" (:blah ~'obj))}) (defmacro my-macro [obj & args] `(print ~(:key dict) ~@args)) (macroexpand '(my-macro {:blah "thingy"} "test string")) I have a

Re: [Q] Deploying two artefacts/jars with same group/artefactid via Leiningen

2019-03-28 Thread Francis Avila
I haven't used lein-package but I am surprised it doesn't handle this case. This issue I think describes a similar use case, perhaps it helps you? https://github.com/pliant/lein-package/issues/9 `lein deploy` has a long form which accepts arbitrary filenames: $ lein help deploy Deploy

Re: [Q] Deploying two artefacts/jars with same group/artefactid via Leiningen

2019-03-28 Thread Thomas Heller
I'm doing this in shadow-cljs deploying a normal jar and one with aot. I'm not exactly sure how you'd do that for an uberjar though. https://github.com/thheller/shadow-cljs/blob/master/project.clj#L96-L103 On Thursday, March 28, 2019 at 7:05:39 PM UTC+1, henrik42 wrote: > > Hi, > > I have an

[Q] Deploying two artefacts/jars with same group/artefactid via Leiningen

2019-03-28 Thread henrik42
Hi, I have an uberjar that I want to deploy to clojars. Part of building the uberjar is building the "standard" lib-jar of the same project. Now I'd like to release/deploy both with the same group/artefactid to clojars. The uberjar should get the :classifier "app". So after that people could

pprint

2019-03-28 Thread Alex Miller
jira/patch welcome... -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this