Generate a leiningen project.clj
file.
Forked from https://github.com/darongmean/boot-lein-generate and made Clojure 1.9.x compatible because the author didn't respond to the pull request and the chat on clojurians.slack.com as the #darong user.
Add boot-lein-generate to your build.boot dependencies and require the namespace:
(set-env! :dependencies '[[onetom/boot-lein-generate "0.1.2" :scope "test"]])
(require 'boot.lein)
(boot.lein/generate)
This ensures updating project.clj
on every run of boot.
This way we can add project.clj
to our .gitignore
and have IntelliJ+Cursive
see the latest dependencies.
Copyright © 2016 Darong Mean
Distributed under the Eclipse Public License, the same as Clojure.