mirror of
https://github.com/ethauvin/rife2.git
synced 2025-04-30 18:48:13 -07:00
Minor cleanup
This commit is contained in:
parent
1a0b45a22a
commit
1b0bf8a810
2 changed files with 5 additions and 1 deletions
|
@ -205,6 +205,10 @@ public abstract class Project extends BuildExecutor {
|
|||
return new File(buildDirectory(), "project");
|
||||
}
|
||||
|
||||
public File buildTemplatesDirectory() {
|
||||
return buildMainDirectory();
|
||||
}
|
||||
|
||||
public File buildTestDirectory() {
|
||||
return new File(buildDirectory(), "test");
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class PrecompileCommand implements BuildHelp {
|
|||
return new TemplateDeployer()
|
||||
.verbose(true)
|
||||
.directoryPaths(List.of(project.srcMainResourcesTemplatesDirectory().getAbsolutePath()))
|
||||
.generationPath(project.buildMainDirectory().getAbsolutePath())
|
||||
.generationPath(project.buildTemplatesDirectory().getAbsolutePath())
|
||||
.templateFactories(getTemplateFactories());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue