reifyhealth / lein-git-down

A Leiningen plugin for resolving dependencies from Git
MIT License
82 stars 6 forks source link

ADDED - Run jar command in context of non-bare git repo [161754839] #13

Closed manderson202 closed 5 years ago

manderson202 commented 5 years ago

Leiningen uses git commands for certain functionality, but gitlibs just checkouts the code into a plain directory with no git information. One of the pieces of functionality that is rather useful is that it places the git version number into the pom.properties meta file in the jar if it can locate it. Now, lein-git-down will run the jar command in the context of an initialized git repository so this and other git functionality will work as expected in the original repo.