Skip to content

Commit 4ca9356

Browse files
format: updates from MegaLinter
1 parent 6db5fcc commit 4ca9356

File tree

4 files changed

+30
-17
lines changed

4 files changed

+30
-17
lines changed

README.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Practicalli Clojure CLI Config
2+
13
```none
24
██████╗ ██████╗ █████╗ ██████╗████████╗██╗ ██████╗ █████╗ ██╗ ██╗ ██╗
35
██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██║██╔════╝██╔══██╗██║ ██║ ██║
@@ -7,10 +9,7 @@
79
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝
810
```
911

10-
11-
## Practicalli Clojure CLI Config
12-
13-
The **[Practicalli Clojure book](https://practical.li/clojure)** uses this configuration extensively to develop Clojure projects.
12+
[Practicalli books](https://practical.li/#books) use the configuration extensively to develop Clojure projects.
1413

1514
[Practicalli Clojure CLI Config](https://github.com/practicalli/clojure-cli-config/) contains a `deps.edn` alias definitions for a wide range of community libraries and tools to that extend the features of Clojure CLI.
1615

@@ -625,21 +624,33 @@ [email protected]:493u984u3249834uo4u
625624

626625
Create an event using the following command
627626

627+
Show help and options
628+
628629
```shell
629-
# Show help and options
630630
clojure -M:community/zulip-event create -h
631+
```
632+
633+
Announce an meetup.com event (you'll be asked for confirmation before posting)
631634

632-
# Announce an meetup.com event (you'll be asked for confirmation before posting)
635+
```shell
633636
clojure -M:community/zulip-event create --zulip-auth "${ZULIP_AUTH}" --url https://www.meetup.com/some-group/events/123/
637+
```
638+
639+
Full example
634640

635-
# Full example
636-
clojure -M:community/zulip-event create --zulip-auth "${ZULIP_AUTH}" --title 'Practicalli Live - Exercism.io challenges' --start '2020-11-14T09:00+00:00' --duration 1 --url https://youtu.be/Z5C7X1UN8yo --description 'Walking through solutions to the Exercism.io challenges'
641+
```shell
642+
clojure -M:community/zulip-event create --zulip-auth "${ZULIP_AUTH}" \
643+
--title 'Practicalli Live - Exercism.io challenges' \
644+
--start '2020-11-14T09:00+00:00' \
645+
--duration 1 \
646+
--url https://youtu.be/Z5C7X1UN8yo \
647+
--description 'Walking through solutions to the Exercism.io challenges'
637648
```
638649

639650
Take care to get the timezone notation correct.
640651

641652

642-
# Library Hosting Services
653+
## Library Hosting Services
643654

644655
Repositories that host libraries for Clojure.
645656

@@ -651,12 +662,12 @@ The order of additional repositories consulted is not guaranteed, so may cause u
651662

652663
Maven supports [explicit mirror definition](https://maven.apache.org/guides/mini/guide-mirror-settings.html) in `~/.m2/settings.xml` and Clojure CLI supports this configuration. Adding Maven Central or a mirror to `~/.m2/settings.xml` negates the need for its entry in deps.edn configuration.
653664

654-
## Recommended repositories
665+
### Recommended repositories
655666

656667
* `central` - Maven Central, the canonical repository for JVM libraries, including Clojure releases
657668
* `clojars` - [clojars.org](https://repo.clojars.org/), the canonical repositories for Clojure community libraries fronted by a contend delivery network service
658669

659-
## Optional repositories
670+
### Optional repositories
660671

661672
* `sonatype` - [snapshots of Clojure development releases](https://oss.sonatype.org/), useful for testing against before new stable releases.
662673
* `business-area` - example of adding a local Artifactory server for your team or business area.
@@ -667,6 +678,7 @@ Maven supports [explicit mirror definition](https://maven.apache.org/guides/mini
667678
### Business area
668679

669680
Example of local Artifactory repository configuration
681+
670682
```clojure
671683
:mvn/repos
672684
{"business-area" {:url "https://artifacts.internal-server.com:443/artifactory/business-area-maven-local"}

clojurescript-figwheel-experiments.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;; ---------------------------------------------------------
22
;; Figwheel experiments
33
;;
4-
;; Attemps to run a ClojureScript terminal REPL with nREPL
4+
;; Attempts to run a ClojureScript terminal REPL with nREPL
55
;; to connect an Editor e.g. Emacs/Spacemacs, Neovim/Conjure
66
;;
77
;; Abandoned approach
@@ -84,7 +84,7 @@
8484
"--interactive"
8585
"-f" "figwheel.main/-main" "-b" "dev" "-r"]}
8686

87-
;; Connects to clojurescript repl, evaluation updates app,
87+
;; Connects to clojurescript repl, evaluation updates app,
8888
;; Java 11 or earlier - requires Nashorn JavaScript engine in JVM
8989
:repl/nrepl-figwheel
9090
{:extra-deps

deps-deprecated.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"--interactive"]}
5252

5353
;; DEPRECATED
54-
;;- requires Nashorn which was removed from Java 11 onward
54+
;; - requires Nashorn which was removed from Java 11 onward
5555
;; ClojureScript REPL with rebel readline with nrepl for editor connection
5656
;; https://github.com/bhauman/rebel-readline/tree/master/rebel-readline-cljs
5757
;; CIDER: run `cider-connect-cljs` and select REPL host and port, figwheel-main and dev build
@@ -64,7 +64,7 @@
6464
:main-opts ["--main" "rebel-readline.cljs.main"
6565
"-f" "rebel-readline.cljs.main/-main"]}
6666

67-
;; End of REPL's
67+
;; End of REPL's
6868
;; ---------------------------------------------------
6969

7070
;; ---------------------------------------------------

deps.edn

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@
101101
;; - alpha state software
102102
;; Latest commit on add-lib3 branch, don't update with :search/outdated
103103
:lib/hotload
104-
{:extra-deps {org.clojure/tools.deps.alpha {:git/url "https://github.com/clojure/tools.deps.alpha"
104+
{:extra-deps {org.clojure/tools.deps.alpha
105+
{:git/url "https://github.com/clojure/tools.deps.alpha"
106+
:git/sha "e4fb92eef724fa39e29b39cc2b1a850567d490dd"}}}
105107

106108
;; Highlight important aspects of error stack trace using ANSI formatting
107109
;; https://github.com/AvisoNovate/pretty
@@ -115,7 +117,6 @@
115117
{:extra-deps {io.github.babashka/neil {:git/tag "v0.1.47"
116118
:git/sha "77288d4"}}
117119
:main-opts ["-m" "babashka.neil"]}
118-
:git/sha "e4fb92eef724fa39e29b39cc2b1a850567d490dd"}}}
119120

120121
;; End of Development environment
121122
;; ---------------------------------------------------

0 commit comments

Comments
 (0)