blob: a117b9f07205f4c151acc065bc6e5a9aaac178fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/sh -e
HERE=$(dirname $(readlink -f ${0}));
cd ${HERE};
rm -f theme.css;
#===============================================================
docker run -v$(pwd):/x -w/x --rm -i node:16.5.0-alpine3.14 sh <<'EOF'
apk update;
apk upgrade;
apk add git;
#===============================================================
cd /tmp;
git clone https://github.com/sass/sass.git;
cd sass;
git checkout 2121f939b411c1650005b82c53557dd6248bff74;
npm audit fix;
npm install;
npm install -g sass;
cd /x;
sass --no-source-map scss/theme.scss theme.css;
chown 1000:1000 theme.css;
#===============================================================
EOF
#===============================================================
|