summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-06 07:58:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-06 07:58:47 +0000
commit93d3b4da94cc34f7c55e39cfbed159f0e2886328 (patch)
tree72efc9b38e0e49fd402131e8c076523f14dc4f59 /build
parentReleasing debian version 5.3.0+dfsg-1. (diff)
downloadbootstrap-html-93d3b4da94cc34f7c55e39cfbed159f0e2886328.tar.xz
bootstrap-html-93d3b4da94cc34f7c55e39cfbed159f0e2886328.zip
Merging upstream version 5.3.1+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build')
-rw-r--r--build/zip-examples.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/build/zip-examples.js b/build/zip-examples.js
index 613376a..7378c33 100644
--- a/build/zip-examples.js
+++ b/build/zip-examples.js
@@ -34,6 +34,9 @@ const imgFiles = [
'bootstrap-logo.svg',
'bootstrap-logo-white.svg'
]
+const staticJsFiles = [
+ 'color-modes.js'
+]
sh.config.fatal = true
@@ -52,7 +55,8 @@ sh.mkdir('-p', [
distFolder,
`${distFolder}/assets/brand/`,
`${distFolder}/assets/dist/css/`,
- `${distFolder}/assets/dist/js/`
+ `${distFolder}/assets/dist/js/`,
+ `${distFolder}/assets/js/`
])
sh.cp('-Rf', `${docsDir}/examples/*`, distFolder)
@@ -69,6 +73,10 @@ for (const file of imgFiles) {
sh.cp('-f', `${docsDir}/assets/brand/${file}`, `${distFolder}/assets/brand/`)
}
+for (const file of staticJsFiles) {
+ sh.cp('-f', `${docsDir}/assets/js/${file}`, `${distFolder}/assets/js/`)
+}
+
sh.rm(`${distFolder}/index.html`)
// get all examples' HTML files