Skip to content

Commit 8a7c99c

Browse files
committed
Copy over all JS files instead of specifying them individually
This is easier to maintain, as per work on whatwg/html#11392 we'll be adding a new JS file.
1 parent 6e16e88 commit 8a7c99c

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[@]}")
@@ -707,8 +707,7 @@ function processSource {
707707
Disallow: /commit-snapshots/
708708
Disallow: /review-drafts/" > "$HTML_OUTPUT/robots.txt"
709709
cp -p "$HTML_SOURCE/404.html" "$HTML_OUTPUT"
710-
cp -p "$HTML_SOURCE/link-fixup.js" "$HTML_OUTPUT"
711-
cp -p "$HTML_SOURCE/html-dfn.js" "$HTML_OUTPUT"
710+
cp -p "$HTML_SOURCE/"*.js "$HTML_OUTPUT"
712711
cp -p "$HTML_SOURCE/styles.css" "$HTML_OUTPUT"
713712
cp -pR "$HTML_SOURCE/fonts" "$HTML_OUTPUT"
714713
cp -pR "$HTML_SOURCE/images" "$HTML_OUTPUT"

0 commit comments

Comments
 (0)