« get me outta code hell

upd8: move buildSearchIndex step status into place, add 'for' - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-30 21:05:52 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:58 -0300
commit29a8be117f193ad6189fd4294aa87c060588b2a3 (patch)
tree8ab3d5b0dbd3a7135a21165488eae662dcc0436c /src
parent7931244d09168988d72f7b757773ded5d66ed956 (diff)
upd8: move buildSearchIndex step status into place, add 'for'
Diffstat (limited to 'src')
-rwxr-xr-xsrc/upd8.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/upd8.js b/src/upd8.js
index eecc7e53..ef83589d 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -144,9 +144,6 @@ async function main() {
       {...defaultStepStatus, name: `generate thumbnails`,
         for: ['thumbs']},
 
-    buildSearchIndex:
-      {...defaultStepStatus, name: `generate search index`},
-
     loadDataFiles:
       {...defaultStepStatus, name: `load and process data files`,
         for: ['build']},
@@ -204,6 +201,10 @@ async function main() {
       {...defaultStepStatus, name: `preload file sizes`,
         for: ['build']},
 
+    buildSearchIndex:
+      {...defaultStepStatus, name: `generate search index`,
+        for: ['build', 'search']},
+
     identifyWebRoutes:
       {...defaultStepStatus, name: `identify web routes`,
         for: ['build']},