-
Notifications
You must be signed in to change notification settings - Fork 111
cljr project clean
cljr-project-clean
runs some clean up functions on all clj files in a project in bulk. By default these are cljr-remove-unused-requires
and cljr-sort-ns
. Additionally, cljr-sort-project-dependencies
is called to put the
project.clj
file in order. Before any changes are made, the user is prompted for confirmation because this function can touch a large number of files.
This promting can be switched off by setting cljr-project-clean-prompt
to nil
:
(setq cljr-project-clean-prompt nil)
The list of functions run by cljr-project-clean
is also configurable via cljr-project-clean-functions
. You can add more functions defined in clj-refactor
, remove some, or even use functions you've written yourself.