-
Notifications
You must be signed in to change notification settings - Fork 112
cljr project clean
Lars Andersen edited this page Jan 15, 2016
·
3 revisions
cljr-project-clean runs some clean up functions on all clj files in a project in bulk. By default, cljr-clean-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.
The prompting 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.