rethemendex fixes
- set cwd before doing cwd-specific operations - don't include 'themes' directory, otherwise it's a bit circular.
This commit is contained in:
parent
16bb75be66
commit
36450764f3
|
@ -49,7 +49,6 @@
|
||||||
@import "./matrix-react-sdk/views/voip/_CallView.scss";
|
@import "./matrix-react-sdk/views/voip/_CallView.scss";
|
||||||
@import "./matrix-react-sdk/views/voip/_IncomingCallbox.scss";
|
@import "./matrix-react-sdk/views/voip/_IncomingCallbox.scss";
|
||||||
@import "./matrix-react-sdk/views/voip/_VideoView.scss";
|
@import "./matrix-react-sdk/views/voip/_VideoView.scss";
|
||||||
@import "./themes/_base.scss";
|
|
||||||
@import "./vector-web/_fonts.scss";
|
@import "./vector-web/_fonts.scss";
|
||||||
@import "./vector-web/structures/_CompatibilityPage.scss";
|
@import "./vector-web/structures/_CompatibilityPage.scss";
|
||||||
@import "./vector-web/structures/_LeftPanel.scss";
|
@import "./vector-web/structures/_LeftPanel.scss";
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "// autogenerated by rethemendex.sh" > _components.scss
|
cd `dirname $0`
|
||||||
|
|
||||||
for i in `find . -iname _\*.scss | fgrep -v _components.scss | sort`;
|
{
|
||||||
do
|
echo "// autogenerated by rethemendex.sh"
|
||||||
echo "@import \"$i\";" >> _components.scss
|
|
||||||
|
find . \! \( -path ./themes -prune \) -iname _\*.scss |
|
||||||
|
fgrep -v _components.scss | LC_ALL=C sort |
|
||||||
|
while read i; do
|
||||||
|
echo "@import \"$i\";"
|
||||||
done
|
done
|
||||||
|
} > _components.scss
|
||||||
|
|
Loading…
Reference in New Issue