Reputation: 2164
I have an existing leiningen project, I was wondering if there is anyway leiningen will allow me to automatically generate empty Clojure files or packages without me doing it manually.
For example when you create a new project in leiningen it will automatically generate the project package with core.clj inside it, is there any way to do this for existing projects that will automatically generate the namespace code inside the file?
Thanks,
Adam
Upvotes: 1
Views: 154
Reputation: 91554
Leiningen seems not to yet have a plugin for this, Leiningen is generally unaware of any namespaces other than the main and the :aot classes so there has yet to be a significant demand for a new namespace leiningen task.
you can of course write your own
Upvotes: 1