Added link to build class in README
This commit is contained in:
parent
00cd80894d
commit
3fe54858fa
2 changed files with 3 additions and 1 deletions
|
@ -52,3 +52,5 @@ version.major=1
|
|||
version.minor=0
|
||||
version.patch=10
|
||||
```
|
||||
|
||||
[View the Examples Build](https://github.com/rife2/bld-property-file/blob/master/examples/src/bld/java/com/example/PropertyFileExampleBuild.java)
|
|
@ -73,7 +73,7 @@ public class PropertyFileExampleBuild extends Project {
|
|||
// set the minor version to 0 if it doesn't exist
|
||||
.entry(new Entry("version.minor").defaultValue(0))
|
||||
// set the patch version to 10 if it doesn't exist, increase by 10
|
||||
.entry(new Entry("version.patch").defaultValue(0).type(Types.INT).operation(Operations.ADD).value(10))
|
||||
.entry(new Entry("version.patch").value(10).defaultValue(0).type(Types.INT).operation(Operations.ADD))
|
||||
// set the build date to the current date
|
||||
.entry(buildDateEntry)
|
||||
.execute();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue