From 142ff084c99ef1ce6f94d843b81fdd7824f7290a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 7 Mar 2025 20:16:08 -0400 Subject: upd8: --skip-sorting-validation --- src/upd8.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/upd8.js b/src/upd8.js index 9b347e61..ebcb5da5 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -449,6 +449,11 @@ async function main() { type: 'flag', }, + 'skip-sorting-validation': { + help: `Skips checking the if custom sorting rules for this wiki are satisfied`, + type: 'flag', + }, + 'skip-media-validation': { help: `Skips checking and reporting missing and misplaced media files, which isn't necessary if you aren't adding or removing data or updating directories`, type: 'flag', @@ -983,6 +988,17 @@ async function main() { paragraph = false; } + fallbackStep('checkWikiDataSourceFileSorting', { + default: 'perform', + cli: { + flag: 'skip-sorting-validation', + negate: true, + warning: + `Skipping sorting validation. If any of this wiki's sorting rules are not\n` + + `satisfied, those errors will be silently passed along to the build.`, + }, + }); + fallbackStep('verifyImagePaths', { default: 'perform', buildConfig: 'mediaValidation', -- cgit 1.3.0-6-gf8a5