We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d995a27 commit 77208ebCopy full SHA for 77208eb
scripts/make-site-digest.sh
@@ -3,11 +3,17 @@
3
MANIFEST=${1-public/site-manifest.json}
4
DIGEST=${2-public/site-digest.txt}
5
6
+# TODO rewrite this in Javascript?
7
+# update the MD5 into the digest file, instead of a .txt file.
8
+# then any output can be handled with a template iteration.
9
+# (This may be more similar to what OpenDevise end up doing in any case.)
10
+
11
for URL in $(
12
jq -r \
13
'.components | .. | select(.url?) | select(.alias? | not) | .url' \
14
$MANIFEST \
- | grep -v '^null$')
15
+ | grep -v '^null$' \
16
+ | sort -u)
17
do
18
FILE=public$URL
19
# fillet out just the <main> section of the HTML file
0 commit comments