element-web/res/css/rethemendex.sh
Michael Telatynski 01f4bb8c78
Rename PostCSS files to .pcss (#9013)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Delint

* Rename new files too

* delint

* Fix bad comment placement
2022-07-15 14:53:23 +01:00

15 lines
415 B
Bash
Executable file

#!/usr/bin/env sh
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 _\*.pcss | fgrep -v _components.pcss | LC_ALL=C sort |
while read i; do
echo "@import \"$i\";"
done
} > _components.pcss