This commit is contained in:
Magnus Åhall 2024-11-28 18:11:14 +01:00
parent 515c748e14
commit bd4a475923
23 changed files with 1217 additions and 192 deletions

View file

@ -6,14 +6,10 @@ do
inotifywait -q -e MODIFY *less
#sleep 0.5
clear
for THEME in $(ls theme-*.less | sed -e 's/^theme-\(.*\)\.less$/\1/'); do
export THEME=$THEME
make -j12
#curl -s http://notes.lan:1371/_ws/css_update
done
echo -e "\n\e[32;1mOK!\e[0m"
sleep 1
clear
if make -j12; then
echo -e "\n\e[32;1mOK!\e[0m"
curl -s http://notes.lan:1371/css_updated
sleep 1
clear
fi
done