autogenerate the _components.scss index

pull/2973/head
Matthew Hodgson 2016-12-28 02:02:05 +00:00
parent bacb284415
commit c5fa84cd28
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
echo "// autogenerated by rethemendex.sh" > _components.scss
for i in `find */* -iname _\*.scss`;
do
echo "@import \"`dirname $i`/`basename $i .scss`\";" >> _components.scss
done