From 2461b025d2093b9f092bac1e2d71d7c3ad01c32e Mon Sep 17 00:00:00 2001 From: Stan Verberkt Date: Wed, 21 Feb 2024 16:17:36 +0100 Subject: [PATCH] Remove reloaded repl alias --- .gitignore | 1 + README.md | 12 +++++++----- deps.edn | 19 ++++--------------- 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 0b7669c..1429d7c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /deploy /build/ /src/swark/sandbox.cljc +/.cljs_node_repl/ diff --git a/README.md b/README.md index 6a136aa..f82ce99 100644 --- a/README.md +++ b/README.md @@ -88,16 +88,18 @@ Run the tests with `clojure -X:test/run` ## Development -Start a repl with `clojure -M:repl/reloaded` - -### Local installation - -Install Swark locally with `clj -X:install` +Start a repl simply by running `clj -M:repl/basic` command in your terminal. +You can connect your editor via nrepl afterwards, e.g. from emacs; `cider-connect-clj` +Or create a repl from your editor, e.g. from emacs; `cider-jack-in-clj` ### Jar creation Create an uberjar with `clj -X:uberjar :jar swark-0.1.4.jar` +### Local installation + +Install Swark locally with `clj -X:install` + ## License Swark by Stan Verberkt is marked with CC0 1.0 Universal diff --git a/deps.edn b/deps.edn index 6cd00ca..b2763cd 100644 --- a/deps.edn +++ b/deps.edn @@ -3,23 +3,12 @@ {org.clojure/clojure {:mvn/version "1.11.0"} org.clojure/data.csv {:mvn/version "1.0.1"}} ;; NOTE: For testing CSV input/output only.. :aliases - {:repl/reloaded - {:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"} - cider/cider-nrepl {:mvn/version "0.28.7"} - com.bhauman/rebel-readline {:mvn/version "0.1.4"} - djblue/portal {:mvn/version "0.34.2"} - org.clojure/tools.namespace {:mvn/version "1.3.0"} - org.clojure/tools.deps.alpha {:git/url "https://github.com/clojure/tools.deps.alpha" - :git/sha "e4fb92eef724fa39e29b39cc2b1a850567d490dd"} - org.slf4j/slf4j-nop {:mvn/version "2.0.5"} - lambdaisland/kaocha {:mvn/version "1.71.1119"} - org.clojure/test.check {:mvn/version "1.1.1"} - ring/ring-mock {:mvn/version "0.4.0"}} + { :repl/basic + {:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"} + cider/cider-nrepl {:mvn/version "0.30.0"}} :main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]" - "--interactive" - "-f" "rebel-readline.main/-main"]} - + "--interactive"]} ;; kaocha - comprehensive test runner for Clojure/Script ;; tests.edn should be created for each project ;; https://github.com/lambdaisland/kaocha