2018-04-12 01:23:35 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd `dirname $0`
|
|
|
|
|
|
|
|
{
|
|
|
|
echo "// autogenerated by rethemendex.sh"
|
|
|
|
|
2018-04-17 17:55:32 +02: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.
|
2018-04-13 01:54:41 +02:00
|
|
|
find . -iname _\*.scss | fgrep -v _components.scss | LC_ALL=C sort |
|
2018-04-12 01:23:35 +02:00
|
|
|
while read i; do
|
|
|
|
echo "@import \"$i\";"
|
|
|
|
done
|
|
|
|
} > _components.scss
|