This commit is contained in:
2026-02-15 21:47:47 +08:00
parent a1f5882e03
commit 8136e66b75

View File

@@ -47,6 +47,7 @@ const SCRIPT_URL_PREFIX = "https://script.hatter.ink/@latest/";
// build.json | build_springboot_template.gradle | build_jar_template.gradle
async function writeGitIgnore(): Promise<void> {
log.info(`Write file: ${DOT_GIT_IGNORE}`);
await writeStringToFile(
DOT_GIT_IGNORE,
DEFAULT_GIT_IGNORE.join("\n") + "\n",
@@ -55,6 +56,7 @@ async function writeGitIgnore(): Promise<void> {
async function createDirs(): Promise<void> {
for (const dir of DIRS) {
log.info(`Create directory: ${dir}`);
await makeDirectory(dir);
}
}