Skip to content

Commit 0ebe4b0

Browse files
authored
Update Makefile to copy top-level demos files
Top-level files in the top-level "demos/" directory were not being copied as they did not match the expression "demos/\*\*/\*". Change the expression to "demos/\* demos/\*\*/\*" to cause all the files to be copied. This solution is ugly and causes (harmless) "skipping directory" warnings to be output by rsync. It may be better to add the --recursive flag to rsync as a long-term solution.
1 parent 19778b4 commit 0ebe4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local: index.bs
88

99
deploy: index.bs
1010
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh
11-
EXTRA_FILES="demos/**/*" \
11+
EXTRA_FILES="demos/* demos/**/*" \
1212
POST_BUILD_STEP='node_modules/.bin/emu-algify --throwing-indicators < "$$DIR/index.html" > "$$DIR/index.html.tmp"; mv "$$DIR/index.html.tmp" "$$DIR/index.html"' \
1313
bash ./deploy.sh
1414

0 commit comments

Comments
 (0)