#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/* istanbul ignore file */
const commands_1 = require("./../cli/commands/index.cjs");
new commands_1.BuildScripts()
    .execute()
    .then(() => commands_1.BuildScripts.log.info("Scripts built successfully."))
    .catch((e) => {
    try {
        if (!e?.logged) {
            commands_1.BuildScripts.log.error(`Error building scripts: ${e}`);
        }
    }
    catch {
        // fallback
        console.error(e);
    }
    process.exit(1);
});
//# sourceMappingURL=build-scripts.js.map