This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-18
Channels
- # announcements (6)
- # babashka (137)
- # beginners (104)
- # biff (4)
- # calva (24)
- # cider (1)
- # clj-kondo (15)
- # cljs-dev (18)
- # cljsrn (1)
- # clojure (43)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojure-germany (3)
- # clojure-nl (3)
- # clojure-spec (40)
- # clojure-uk (6)
- # clojured (1)
- # clojurescript (24)
- # code-reviews (14)
- # core-logic (5)
- # cursive (24)
- # datahike (2)
- # datomic (3)
- # deps-new (9)
- # events (5)
- # figwheel-main (1)
- # fulcro (7)
- # helix (3)
- # honeysql (8)
- # jobs (4)
- # jobs-discuss (7)
- # lsp (59)
- # malli (9)
- # mid-cities-meetup (1)
- # nrepl (2)
- # off-topic (27)
- # portal (11)
- # re-frame (16)
- # reitit (1)
- # releases (12)
- # remote-jobs (4)
- # shadow-cljs (48)
- # spacemacs (1)
- # vim (9)
- # xtdb (14)
with this as my :new alias in `/.clojure/deps.edn :
35 │ :new {:extra-deps {seancorfield/clj-new {:mvn/version "1.1.297"}}
36 │ :exec-fn clj-new/create
37 │ :exec-args {:template "app"}}
Hmm, not a known issue. Let me just repro…
The readme in a generated app project says to use clojure -M:test:runner
(and that does work)
Ah, I see the confusion. Apologies. The clj-new
README has been updated to reflect the next version but that hasn’t been released yet.
@johanatan OK, I’ve released clj-new 1.1.309 so that will work now:
(! 520)-> clojure -X:new :template app :name johanatan/example
Downloading: com/github/seancorfield/clj-new/1.1.309/clj-new-1.1.309.pom from clojars
Downloading: com/github/seancorfield/clj-new/1.1.309/clj-new-1.1.309.jar from clojars
Generating a project called example based on the 'app' template.
(! 521)-> cd example/
(! 522)-> clojure -X:test:runner
Running tests in #{"test"}
Testing johanatan.example-test
FAIL in (a-test) (example_test.clj:7)
FIXME, I fail.
expected: (= 0 1)
actual: (not (= 0 1))
Ran 1 tests containing 1 assertions.
1 failures, 0 errors.