build | status |
---|---|
Latest Build | |
master branch |
Add this into the :plugins
vector of your :user
profile , or :plugins
vector of your project.clj.
$ lein git-info ;lein clean & lein install all "checkouts" projects & generate resources/verison.txt in this project.
$ lein git-info install
$ lein git-info uberjar
$ lein git-info ring uberwar
$ lein git-info (other task...) ;lein git-info & lein (other task...) this project & remove resources/version.txt after package.
The reason of remove version file after packaged is this version file isn't in your project git respository,so all project use this plugin not need to add "resources/version.txt" to .gitignore file,and the other reason is the version file in resources folder just represent the git info snapshot in package time.
Copyright © 2019 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.