This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-18
Channels
- # announcements (5)
- # aws (14)
- # babashka (5)
- # beginners (39)
- # brompton (9)
- # chlorine-clover (10)
- # cider (2)
- # clj-kondo (107)
- # cljfx (2)
- # cljsrn (7)
- # clojure (40)
- # clojure-australia (2)
- # clojure-conj (5)
- # clojure-europe (11)
- # clojure-japan (2)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (6)
- # clojurescript (8)
- # cursive (20)
- # datahike (6)
- # degree9 (2)
- # deps-new (2)
- # development-containers (11)
- # fulcro (26)
- # jobs (1)
- # joker (1)
- # kaocha (1)
- # lambdaisland (1)
- # malli (6)
- # membrane (1)
- # nbb (1)
- # news-and-articles (2)
- # off-topic (3)
- # pedestal (23)
- # re-frame (19)
- # reagent (6)
- # sci (110)
- # shadow-cljs (7)
- # tools-deps (9)
- # xtdb (20)
Hi! I specifically wanted to ask @seancorfield about how you think a good Gitpod Clojure template should work. I am thinking about the template that Gitpod are about to make available from their GUI. We can create all sorts of templates too, but the one that users will find in the Gitpod dashboard needs to be quite general. I’m thinking it should have clojure, leiningen, babashka and maybe something more (polylith?) pre-installed. And then deps-new and clj-new as well. The README should only give some basic hints about how to create a project. However, if the user creates a project using, say deps-new, this project will be placed one level down in the directory structure. Maybe this is not a problem? Sorry, unsorted wall of text. I haven’t wrapped my mind around this very well yet.
I haven't played with Gitpod enough yet to have strong opinions. Part of me would like to "strongly encourage" folks to adopt newer tooling and also to try to keep it simple -- but that somewhat conflicts with making it "general" and "broadly applicable". Are you thinking that it would allow users to create new projects etc via the terminal, using clojure -Tnew app :name com.acme/my-cool-app
kind of stuff or something more integrated into VS Code?
I am thinking using the terminal, like you point out there. Also thinking we should strongly encourage modern tooling, but that the workspace still should have leiningen available. (We can probably skip boot.
Def. skip boot at this point. I've been trying to engage the Boot folks for months about the Verified Group Names stuff so that boot new
conforms by default. The Leiningen folks got onboard pretty quickly changing both how projects are generated and how they are searched but nada from the Boot folks -- so that project is either "dead" or they don't care about important changes in the Clojure world, it seems.
Can I tell deps-new to generate the project in the current directory? (As opposed to a sub directory.)
Yes, :target-dir '"."' :overwrite true
(`:overwrite` defaults to false
except for the pom
shortcut, :target-dir
is derived from the project name by default)
I was just looking at the prebuild stuff -- nice that you can set that up per branch (I use it to set up the Clover config.cljs
file in ~/.config/clover/
so that my shortcut tasks are all installed).