mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-27 09:28:12 +03:00
17 lines
478 B
TypeScript
17 lines
478 B
TypeScript
import CreateLogCtx from "lib/logger/logger";
|
|
import { RecalcAllScores, UpdateAllPBs } from "utils/calculations/recalc-scores";
|
|
import { RecalcSessions } from "utils/calculations/recalc-sessions";
|
|
import { CreateGameProfiles } from "./recalc-game-profiles";
|
|
|
|
const logger = CreateLogCtx(__filename);
|
|
|
|
(async () => {
|
|
await RecalcAllScores();
|
|
await UpdateAllPBs();
|
|
await CreateGameProfiles();
|
|
await RecalcSessions();
|
|
|
|
logger.info(`Completely done!`);
|
|
process.exit(0);
|
|
})();
|