Skip to content

Commit 120d639

Browse files
committed
Copy over all JS files
1 parent 6b9bd8d commit 120d639

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ function doServerBuild {
530530
# server getting confused about their absence.) demos/ needs to be sent in full for inlining.
531531
local zip_args=(
532532
--recurse-paths "$HTML_TEMP/$input_zip" . \
533-
--include ./source ./404.html ./link-fixup.js ./html-dfn.js ./styles.css \
534-
./fonts/ ./images/ ./dev/ ./demos/\*
533+
--include ./source ./404.html "./*.js" ./styles.css \
534+
./fonts/ ./images/ ./dev/ "./demos/*"
535535
)
536536
$QUIET && zip_args+=( --quiet )
537537
(cd "$HTML_SOURCE" && zip "${zip_args[@]}")
@@ -714,8 +714,7 @@ function processSource {
714714
Disallow: /commit-snapshots/
715715
Disallow: /review-drafts/" > "$HTML_OUTPUT/robots.txt"
716716
cp -p "$HTML_SOURCE/404.html" "$HTML_OUTPUT"
717-
cp -p "$HTML_SOURCE/link-fixup.js" "$HTML_OUTPUT"
718-
cp -p "$HTML_SOURCE/html-dfn.js" "$HTML_OUTPUT"
717+
cp -p "$HTML_SOURCE/"*.js "$HTML_OUTPUT"
719718
cp -p "$HTML_SOURCE/styles.css" "$HTML_OUTPUT"
720719
cp -pR "$HTML_SOURCE/fonts" "$HTML_OUTPUT"
721720
cp -pR "$HTML_SOURCE/images" "$HTML_OUTPUT"

0 commit comments

Comments
 (0)