1
0
Fork 0
mirror of https://github.com/element-hq/element-web.git synced 2024-12-21 09:42:33 +03:00
element-web/res/css/rethemendex.sh
2020-04-02 13:42:59 +01:00

15 lines
409 B
Bash
Executable file

#!/bin/bash
cd `dirname $0`
{
echo "// autogenerated by rethemendex.sh"
# we used to have exclude /themes from the find at this point.
# as themes are no longer a spurious subdirectory of css/, we don't
# need it any more.
find . -iname _\*.scss | fgrep -v _components.scss | LC_ALL=C sort |
while read i; do
echo "@import \"$i\";"
done
} > _components.scss