From 3a205843397b6b4ef86d3e1ab07d93251c90e81f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 9 Jan 2024 11:32:43 -0400 Subject: write: implement repl as proper build mode --- src/upd8.js | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/upd8.js') diff --git a/src/upd8.js b/src/upd8.js index 5b6b4403..17c4d360 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -43,7 +43,6 @@ import {displayCompositeCacheAnalysis} from '#composite'; import {processLanguageFile, watchLanguageFile, internalDefaultStringsFile} from '#language'; import {isMain, traverse} from '#node-utils'; -import bootRepl from '#repl'; import {empty, showAggregate, withEntries} from '#sugar'; import {generateURLs, urlSpec} from '#urls'; import {sortByName} from '#wiki-data'; @@ -250,16 +249,6 @@ async function main() { type: 'value', }, - 'repl': { - help: `Boot into the HSMusic REPL for command-line interactive access to data objects`, - type: 'flag', - }, - - 'no-repl-history': { - help: `Disable locally logging commands entered into the REPL in your home directory`, - type: 'flag', - }, - 'skip-reference-validation': { help: `Skips checking and reporting reference errors, which speeds up the build but may silently allow erroneous data to pass through`, type: 'flag', @@ -481,9 +470,6 @@ async function main() { showStepStatusSummary = cliOptions['show-step-summary'] ?? false; - const replFlag = cliOptions['repl'] ?? false; - const disableReplHistory = cliOptions['no-repl-history'] ?? false; - const showAggregateTraces = cliOptions['show-traces'] ?? false; const precacheMode = cliOptions['precache-mode'] ?? 'common'; @@ -508,16 +494,6 @@ async function main() { return false; } - if (replFlag) { - return bootRepl({ - dataPath, - mediaPath, - - disableHistory: disableReplHistory, - showTraces: showAggregateTraces, - }); - } - if (cliOptions['no-build']) { logInfo`Won't generate any site or page files this run (--no-build passed).`; -- cgit 1.3.0-6-gf8a5