This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-24
Channels
- # announcements (22)
- # babashka (33)
- # babashka-sci-dev (161)
- # beginners (25)
- # calva (57)
- # cider (6)
- # clara (6)
- # clerk (14)
- # clj-kondo (24)
- # clojars (10)
- # clojure (65)
- # clojure-austin (1)
- # clojure-conj (2)
- # clojure-europe (23)
- # clojure-miami (3)
- # clojure-nl (3)
- # clojure-norway (3)
- # clojure-uk (3)
- # clojurescript (28)
- # cursive (24)
- # datomic (136)
- # emacs (38)
- # graalvm (29)
- # graphql (3)
- # introduce-yourself (8)
- # jackdaw (4)
- # jobs-discuss (9)
- # malli (5)
- # nbb (36)
- # off-topic (11)
- # pathom (58)
- # polylith (2)
- # practicalli (1)
- # re-frame (5)
- # reagent (11)
- # releases (1)
- # remote-jobs (8)
- # sci (15)
- # shadow-cljs (31)
- # slack-help (2)
- # spacemacs (11)
- # sql (7)
- # tools-build (9)
I am slowly retiring my build-clj
wrapper. next.jdbc
no longer uses it: https://github.com/seancorfield/next-jdbc/blob/develop/build.clj HoneySQL no longer uses it: https://github.com/seancorfield/honeysql/blob/develop/build.clj Over the next week or two I plan to remove it from the projects generated by deps-new
so that they have more "standard" build.clj
files.
neil add build
also generates a standard build.clj
file in an existing project (and adds the deps in a :build
alias if it doesn't exist yet), including deps-deploy
which is lazily loaded.
If you have any suggestions for that generated build.clj
feel free to make those!
The version is retrieved from :aliases :neil :project :version
if it's there, which gives a bit more declarative info in the deps.edn
. If deps.edn had a widely adapted convention for this, I'd use that. :name
is in there too for the library name.
I have removed my wrapper from https://github.com/seancorfield/usermanager-example as well...
So if we’re using build-clj what should we do? Copy source of functions we were calling into each build.clj?
Per build-clj
's README: I would strongly advise you learn to use raw tools.build
instead for anything beyond the simplest build script needs!
You don't want to copy the build-clj
functions -- they are far more complex than you will need for any build.
The readme links to https://clojure.org/guides/tools_build which has "raw tools.build
" examples for library and application JARs.
We have stopped using build-clj
at work and as soon as I've removed it from the deps-new
templates, I'll likely archive the repo.
Got it, thanks 🙏
I have removed my wrapper from https://github.com/seancorfield/usermanager-example as well...