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