completely separate the generated interfaces from manual ones and completely separate the manual tags from the generated ones. Also wipe the directories for code generation before code generation (#167)

This commit is contained in:
pointbazaar
2020-10-20 10:52:38 +02:00
committed by GitHub
parent 226cfb9a28
commit be626b6b96
241 changed files with 270 additions and 199 deletions

View File

@@ -0,0 +1,16 @@
package j2html_codegen;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
public final class GeneratorUtil {
public static final void deleteAllFilesInDir(final Path dir) throws IOException {
for(final File file : dir.toFile().listFiles()){
System.out.println("deleting " + file.toPath());
Files.delete(file.toPath());
}
}
}