Skip to content

Commit d4fdcf3

Browse files
docs: summary of custom REPL startup
Rewrite introduction to `:dev` aliases Update link to Practicalli Clojure Custom REPL Startup page Resolve: #74
1 parent 82b47f6 commit d4fdcf3

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.org

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#+TITLE: Changelog
22

33
* Unreleased
4+
** Changed
5+
- docs: rewrite `:dev` aliases introduction
46

57
* 2023-08-02
68
** Changed

deps.edn

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,17 @@
7575
{;; ---------------------------------------------------
7676
;; Development environment
7777

78-
;; Include `dev` directory on the class path to auto-load `dev/user.clj` on REPL startup
79-
;; http://practicalli.github.io/clojure/clojure-tools/configure-repl-startup.html
78+
;; Custom REPL startup
79+
;; A `user` namespace is loaded during REPL startup if found on the class path
80+
;; `:dev` aliases include the `dev` directory on the class path
81+
;; `dev/user.clj` can define tools and code that runs when starting the REPL
82+
;; https://practical.li/clojure/clojure-cli/repl-startup/
8083

81-
;; clojure -M:dev/env
84+
;; -M -X or -T execution options
8285
:dev/env
8386
{:extra-paths ["dev"]}
8487

88+
;; clojure -M:dev/reloaded
8589
:dev/reloaded
8690
{:extra-paths ["dev" "test"]
8791
:extra-deps {djblue/portal {:mvn/version "0.42.1"} ; portal data inspector
@@ -94,6 +98,7 @@
9498
org.clojure/test.check {:mvn/version "1.1.1"}
9599
criterium/criterium {:mvn/version "0.4.6"}}}
96100

101+
;; clojure -M:dev/reloaded-cljs
97102
:dev/reloaded-cljs
98103
{:extra-paths ["dev" "test"]
99104
:extra-deps {djblue/portal {:mvn/version "0.42.1"} ; portal data inspector

0 commit comments

Comments
 (0)