Fixed missing properties
This commit is contained in:
parent
00cbeb8ad6
commit
c758270144
2 changed files with 6 additions and 57 deletions
|
@ -1,57 +0,0 @@
|
||||||
# [Bld Property File](https://github.com/rife2/bld-property-file) Extension Examples
|
|
||||||
|
|
||||||
## Compile
|
|
||||||
|
|
||||||
First make sure the project up-to-date and compiled:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
./bld download compile
|
|
||||||
```
|
|
||||||
## Run
|
|
||||||
|
|
||||||
To run the examples, issue one of the following command or combination there off.
|
|
||||||
|
|
||||||
```shell
|
|
||||||
./bld updateMajor run
|
|
||||||
./bld updateMinor run
|
|
||||||
./bld updatePatch run
|
|
||||||
./bld updateRelease run
|
|
||||||
```
|
|
||||||
Upon execution, the `version.properties` file will be created and displayed:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
./bld updateMajor run
|
|
||||||
```
|
|
||||||
|
|
||||||
```text
|
|
||||||
+---------------------------+
|
|
||||||
| version.properties |
|
|
||||||
+---------------------------+
|
|
||||||
#
|
|
||||||
#Sun Apr 02 23:51:39 PDT 2023
|
|
||||||
build.date=2023-04-02
|
|
||||||
version.major=1
|
|
||||||
version.minor=0
|
|
||||||
version.patch=0
|
|
||||||
```
|
|
||||||
|
|
||||||
Subsequent commands will reflect the modifications to the
|
|
||||||
`version.major`, `version.minor` or `version.patch` properties:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
./bld upatePatch run
|
|
||||||
```
|
|
||||||
|
|
||||||
```text
|
|
||||||
+---------------------------+
|
|
||||||
| version.properties |
|
|
||||||
+---------------------------+
|
|
||||||
#
|
|
||||||
#Sun Apr 02 23:55:09 PDT 2023
|
|
||||||
build.date=2023-04-02
|
|
||||||
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)
|
|
6
examples/version.properties
Normal file
6
examples/version.properties
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#
|
||||||
|
#Fri Oct 20 21:09:14 PDT 2023
|
||||||
|
release=beta.20231020210914
|
||||||
|
version.major=1
|
||||||
|
version.minor=0
|
||||||
|
version.patch=1
|
Loading…
Add table
Add a link
Reference in a new issue