Added build command values
This commit is contained in:
parent
09cdfea6b8
commit
f2eeb1f1f9
2 changed files with 19 additions and 5 deletions
|
@ -3,3 +3,17 @@
|
||||||
```console
|
```console
|
||||||
./bld compile run
|
./bld compile run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Update Version Properties
|
||||||
|
|
||||||
|
```console
|
||||||
|
./bld update-major run
|
||||||
|
./bld update-minor run
|
||||||
|
./bld update-patch run
|
||||||
|
```
|
||||||
|
|
||||||
|
# Delete Version Properties
|
||||||
|
|
||||||
|
```console
|
||||||
|
./bld delete-version run
|
||||||
|
```
|
|
@ -50,7 +50,7 @@ public class PropertyFileExampleBuild extends Project {
|
||||||
new PropertyFileExampleBuild().start(args);
|
new PropertyFileExampleBuild().start(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(summary = "Updates major version")
|
@BuildCommand(value = "update-major", summary = "Updates major version")
|
||||||
public void updateMajor() throws Exception {
|
public void updateMajor() throws Exception {
|
||||||
new PropertyFileOperation()
|
new PropertyFileOperation()
|
||||||
.fromProject(this)
|
.fromProject(this)
|
||||||
|
@ -66,7 +66,7 @@ public class PropertyFileExampleBuild extends Project {
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(summary = "Updates minor version")
|
@BuildCommand(value = "update-minor", summary = "Updates minor version")
|
||||||
public void updateMinor() throws Exception {
|
public void updateMinor() throws Exception {
|
||||||
new PropertyFileOperation()
|
new PropertyFileOperation()
|
||||||
.fromProject(this)
|
.fromProject(this)
|
||||||
|
@ -82,7 +82,7 @@ public class PropertyFileExampleBuild extends Project {
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(summary = "Updates patch version")
|
@BuildCommand(value = "update-patch", summary = "Updates patch version")
|
||||||
public void updatePatch() throws Exception {
|
public void updatePatch() throws Exception {
|
||||||
new PropertyFileOperation()
|
new PropertyFileOperation()
|
||||||
.fromProject(this)
|
.fromProject(this)
|
||||||
|
@ -98,7 +98,7 @@ public class PropertyFileExampleBuild extends Project {
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(summary = "Updates the release")
|
@BuildCommand(value = "update-release", summary = "Updates the release")
|
||||||
public void updateRelease() throws Exception {
|
public void updateRelease() throws Exception {
|
||||||
new PropertyFileOperation()
|
new PropertyFileOperation()
|
||||||
.fromProject(this)
|
.fromProject(this)
|
||||||
|
@ -110,7 +110,7 @@ public class PropertyFileExampleBuild extends Project {
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(summary = "Delete version properties")
|
@BuildCommand(value = "delete-version", summary = "Delete version properties")
|
||||||
public void deleteVersion() throws Exception {
|
public void deleteVersion() throws Exception {
|
||||||
new PropertyFileOperation()
|
new PropertyFileOperation()
|
||||||
.fromProject(this)
|
.fromProject(this)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue