This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-19
Channels
- # aleph (9)
- # announcements (1)
- # asami (21)
- # aws (1)
- # babashka (4)
- # babashka-sci-dev (95)
- # beginners (35)
- # calva (27)
- # cider (17)
- # cljsrn (1)
- # clojure-europe (8)
- # clojure-norway (1)
- # clojuredesign-podcast (4)
- # clojurescript (18)
- # code-reviews (28)
- # core-logic (1)
- # cursive (3)
- # datalevin (2)
- # holy-lambda (3)
- # honeysql (1)
- # introduce-yourself (11)
- # kaocha (12)
- # lsp (11)
- # malli (9)
- # off-topic (46)
- # polylith (16)
- # re-frame (3)
- # reitit (2)
- # releases (2)
- # tools-deps (9)
- # web-security (1)
- # xtdb (2)
Is there a clojure.spec for deps.edn? I'm working if you can compose aliases in the deps.edn file
@mruzekw you can't compose them as in make one alias that consists of the merge of two other aliases
Thanks. The idea was to be able to compose up simple commands for common workflows without having to think about what's needed upfront.
So for instance, have a :env/dev
specifying all dev deps/paths, and :dev
using that definition in addition to a :main-opts
Allows for a simple clj -M:dev
entry point, while also allowing reuse of :env/dev
separately.
yeah, you can right now only compose that on the command line, like clj -M:env/dev:dev
FTR, there is a ticket about this feature request: https://clojure.atlassian.net/browse/TDEPS-220
Nice! Having this feature would be awesome. For now I'm using tools.build and https://github.com/seancorfield/build-clj to create a simple singular interface for all tasks. My goal is for it to appeal to beginners.
clj -T:build run
clj -T:build run-dev
clj -T:build test
...
I'm building that out here for now: https://github.com/mruzekw/clojure-starters/tree/master/skaffold-dev