build: refactor & use handlebars for generate templating (#343)
This commit is contained in:
1 parent
b1f864c1c8
commit
f48eba6354
23 files changed
+681
-408
No files matched your search
@@ -1,10 +1,10 @@
|
||||
import { exists } from "std/fs/mod.ts";
|
||||
import { exists } from "std/fs/exists.ts";
|
||||
import { join, relative } from "std/path/mod.ts";
|
||||
import core from "@actions/core";
|
||||
|
||||
import { REPO_ROOT } from "@/deps.ts";
|
||||
import { log } from "./logger.ts";
|
||||
import chalk from "chalk";
|
||||
import * as color from "std/fmt/colors.ts";
|
||||
|
||||
const requiredFiles = [
|
||||
"catppuccin.user.css",
|
||||
@@ -39,7 +39,7 @@ export const checkForMissingFiles = async () => {
|
||||
.write();
|
||||
} else {
|
||||
missingFiles.map((f) => {
|
||||
log(chalk.red(`Missing file:`) + ` ${f}`, { file: f }, "error");
|
||||
log(color.red(`Missing file:`) + ` ${f}`, { file: f }, "error");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user