2
0
Fork 0
mirror of https://github.com/ethauvin/rife2.git synced 2025-04-30 18:48:13 -07:00

Minor cleanup

This commit is contained in:
Geert Bevin 2023-03-12 12:46:05 -04:00
parent 1a0b45a22a
commit 1b0bf8a810
2 changed files with 5 additions and 1 deletions

View file

@ -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");
}

View file

@ -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());
}
}