Skip to content

Commit c82ffec

Browse files
ChristosTjourdain
authored andcommitted
fix(js): track hash of vue-vtk-js as well
Similar to offline_viewer.html we track and report mismatched hash of all external dependencies. see also #70
1 parent eb8461a commit c82ffec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.externals.sha256

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
b757777855acdc69644186c0678fb8f15cd28614fc96454e567ee81ae57ff3be ./trame_vtk/tools/static_viewer.html
2+
9916a1d1889d8aa24a2fa946a263ba9700d7ec2940de992efcb449e6b9604fcd ./trame_vtk/modules/common/serve/trame-vtk.js

.fetch_externals.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ set -e
44

55
mkdir -p ./trame_vtk/modules/common/serve
66
curl https://unpkg.com/[email protected] -Lo ./trame_vtk/modules/common/serve/trame-vtk.js
7-
# echo 19e7c20470b952cc7b38f1434180b5ec ./trame_vtk/modules/common/serve/trame-vtk.js | md5sum -c --status && echo OK
87
curl https://kitware.github.io/vtk-js/examples/OfflineLocalView/OfflineLocalView.html -Lo ./trame_vtk/tools/static_viewer.html
98

10-
if ! sha256sum --check .static_viewer.sha256 ; then
11-
echo "Hash for static_viewer.html differs, please update .static_viewer.sha256"
9+
if ! sha256sum --check .externals.sha256 ; then
10+
echo "Hash(es) for externals differs, please update .externals.sha256"
1211
fi

.static_viewer.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)