element-web-Github/res/css/rethemendex.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
418 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env sh
cd `dirname $0`
{
echo "/* autogenerated by rethemendex.sh */"
2018-04-17 23:55:32 +08:00
# 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 _\*.pcss | fgrep -v _components.pcss | LC_ALL=C sort |
while read i; do
echo "@import \"$i\";"
done
} > _components.pcss