Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 2.26 KB

README.md

File metadata and controls

37 lines (26 loc) · 2.26 KB

lein-git-info

Clojars Project download stars CHANGELOG.md code-size license

codecov Coverage Status

build status
Latest Build CircleCI
master branch CircleCI

Usage

Add this into the :plugins vector of your :user profile , or :plugins vector of your project.clj.

https://clojars.org/lein-git-info

$ 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.

License

Copyright © 2019 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.