Skip to content

Commit 8291d73

Browse files
authored
Enhance debugging for JS frontend dependencies
Added debug sections for JS frontend dependencies and adjusted commands for better clarity.
1 parent cf52598 commit 8291d73

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/jobs/baseinstall.sh

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,15 @@ section_start "Install JS frontend dependencies"
3232
cd webapp
3333
apt-get update; apt-get install -y yarnpkg
3434
yarnpkg install
35+
cd ..
36+
section_end
37+
38+
section_start "Debug JS frontend dependencies"
39+
pwd
3540
ls -atrl node_modules
36-
ls -atrl public
37-
ls -atrl public/mathjaxfonts
3841
ls -atrl public/mathjaxfonts/*
3942
ls -atrl public/mathjaxfonts/mjx-ncm-zero.woff2
40-
pwd
41-
# The problem might be that we don't install the mathjaxfonts directory in the make domserver step.
42-
realpath /opt/domjudge/domserver/webapp/public
43-
realpath /opt/domjudge/domserver/webapp/public/mathjaxfonts
44-
cd ..
43+
realpath public/mathjaxfonts
4544
section_end
4645

4746
section_start "Set simple admin password"
@@ -74,6 +73,13 @@ else
7473
fi
7574
section_end
7675

76+
section_start "Debug JS frontend dependencies"
77+
# The problem might be that we don't install the mathjaxfonts directory in the make domserver step.
78+
realpath /opt/domjudge/domserver/webapp/public
79+
ls -atrl /opt/domjudge/domserver/webapp/public
80+
realpath /opt/domjudge/domserver/webapp/public/mathjaxfonts
81+
section_end
82+
7783
section_start "SQL settings"
7884
cat > ~/.my.cnf <<EOF
7985
[client]

0 commit comments

Comments
 (0)