From c895e40d3e0da1a38d26146f030bb1cbd82c28e1 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 3 Feb 2016 13:27:57 -0800 Subject: [PATCH] Added link to generated source example. --- README.html | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.html b/README.html index 204e15f..1f56b8f 100644 --- a/README.html +++ b/README.html @@ -71,7 +71,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf version.patch=0 version.prerelease=beta

Template

-

Upon running the annotator processor, a source file GeneratedVersion.java is automatically generated with static methods to access the semantic version data. The source is based on a fully customizable Velocity template.

+

Upon running the annotator processor, a source file GeneratedVersion.java is automatically generated with static methods to access the semantic version data. The source is based on a fully customizable Velocity template.

@Version(template = "myversion.vm")
 public class A {
 // ...
diff --git a/README.md b/README.md index 905705b..23ff104 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ version.prerelease=beta ## Template -Upon running the annotator processor, a source file `GeneratedVersion.java` is automatically generated with static methods to access the semantic version data. The source is based on a fully customizable [Velocity](http://velocity.apache.org/) template. +Upon running the annotator processor, a source file [`GeneratedVersion.java`](https://github.com/ethauvin/semver/blob/master/example/src/generated/java/net/thauvin/erik/semver/example/GeneratedVersion.java) is automatically generated with static methods to access the semantic version data. The source is based on a fully customizable [Velocity](http://velocity.apache.org/) template. ```java @Version(template = "myversion.vm") @@ -198,4 +198,4 @@ For a solution using [Gradle](https://gradle.org/), please have a look at the [b ``` gradle clean release run -``` +``` \ No newline at end of file