From be71a0bfabcda66dfad6ec0733b7d725b3e04807 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Thu, 11 Aug 2022 19:59:17 +0200 Subject: [PATCH] chore: commit save point --- development/script/web-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/development/script/web-test.sh b/development/script/web-test.sh index 355510a76..93be10007 100755 --- a/development/script/web-test.sh +++ b/development/script/web-test.sh @@ -16,6 +16,10 @@ sed -i "1 i import \"./prepare.js\";" ${TEST_PATH}web/import.js sed -i "1 i /** this file was created automatically by the make target test-browser-monster */" ${TEST_PATH}web/import.js npx esbuild --platform=browser --sourcemap=inline --external:jsdom --external:process --external:crypto --bundle ${TEST_PATH}web/import.js --outfile=${TEST_PATH}web/tests.js - + +sed -i -E "/<h1/s_.*_ <h1 style='margin-bottom: 0.1em;'>Monster ${VERSION}</h1>_" ${TEST_PATH}web/test.html +sed -i -E "/id=\"lastupdate\"/s_.*_ <div id=\"lastupdate\" style='font-size:0.7em'>last update $(date)</div>_" ${TEST_PATH}web/test.html +sed -i -E "s_src=\"([\"]*)\.js.*\"_src=\"\1.js?r=$(date +"%T")\"_" ${TEST_PATH}web/test.html + -- GitLab