Skip to content

darkleaf/repl-tools-deps

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Обертка над bhauman/rebel-readline.

Добавляет поддержку reloading с помощью команд

  • :repl/reload
  • :repl/reload-all

Если при перезагрузке произошла ошибка, то она доступна как *e:

:repl/reload-all
:reloading (some.namespace)
:error-while-loading some.namespace
user=> *e
#error {
...
}

Добавляет поддержку запуска тестов с помощью команд:

  • :repl/run-tests

deps.edn:

{:aliases
 {:repl {:extra-deps {darkleaf/repl-tools-deps
                      {:git/url "https://github.com/darkleaf/repl-tools-deps.git"
                       :sha     "1efb72fbb3a8570e935e8655ac2b0063745ded95"}}
         :main-opts ["-m" "darkleaf.repl-tools-deps"]}}
}

или

{:aliases
 {:repl {:extra-deps {darkleaf/repl-tools-deps
                      {:git/url "https://github.com/darkleaf/repl-tools-deps.git"
                       :sha     "1efb72fbb3a8570e935e8655ac2b0063745ded95"}}
         :main-opts ["-m" "darkleaf.repl-tools-deps"
                     "reload-before-fn" "user/stop"
                     "reload-after-fn" "user/start"]}}
}

usage: clojure -Arepl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published