Skip to content

The plugin for generating current project and all "checkouts" projects git information to file resources/version.txt

License

Notifications You must be signed in to change notification settings

hilsonchang2018/lein-git-info

Repository files navigation

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.

About

The plugin for generating current project and all "checkouts" projects git information to file resources/version.txt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published