From 3312e711bbdb6d68691ca5a268d3e19bf47a60ef Mon Sep 17 00:00:00 2001 From: James Elliott Date: Mon, 29 Apr 2019 00:58:16 -0500 Subject: [PATCH] Fix Leiningen plugin version number MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I just wasted an hour or two trying to figure out why I could not get per-resource-path extra values working, only to eventually realize after studying the source code that the problem is that the README says to use an old version that doesn’t include the feature, even though the feature is documented on the same page. This change updates the version to one that is dynamic, based on the latest version found in clojars, so it can’t be forgotten like this in the future. You might want to consider using a [Shields.IO](https://shields.io) badge on the page instead of this raw text so that --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eae3061..202d6a7 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ that is passed to stencil contains a combination of: ## Usage -To use from Leiningen add to `project.clj`: -```clojure -:plugins [ [lein-resource "16.9.1"] ] -``` +To use from Leiningen add this project to the `:plugins` vector in your `project.clj`: + +[![Current version](https://img.shields.io/clojars/v/lein-resource.svg)](http://clojars.org/lein-resource) + To have it run before the jar file creation: ```clojure :prep-tasks ["javac" "compile" "resource"]