Cleaned up template builder and related tests
This commit is contained in:
parent
81212468fd
commit
c4f143ae02
5 changed files with 12 additions and 8 deletions
|
@ -66,12 +66,12 @@ public void genver() throws Exception {
|
|||
.projectName("My App")
|
||||
.packageName("com.example.myapp")
|
||||
.className("MyAppVersion")
|
||||
.classTemplate("myversion.txt")
|
||||
.classTemplate("my_app_version.txt")
|
||||
.execute();
|
||||
}
|
||||
```
|
||||
```java
|
||||
// myversion.txt
|
||||
// my_app_version.txt
|
||||
|
||||
package {{v packageName/}};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue