Skip to content

Commit 68ce0a5

Browse files
author
jordanmccullough
committed
Replace copy-paste lines with loop
1 parent b0728ab commit 68ce0a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_buildscripts/theme

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
2-
sass --style compressed _stylesheets/page.scss _stylesheets/page.css
3-
sass --style compressed _stylesheets/home.scss _stylesheets/home.css
4-
sass --style compressed _stylesheets/workbook.scss _stylesheets/workbook.css
5-
1+
for STYLES in page home workbook
2+
do
3+
echo "- Generating $STYLES"
4+
sass --style compressed _stylesheets/$STYLES.scss _stylesheets/$STYLES.css
5+
done
66
echo "Completed SASS compiling and CSS compression!"

0 commit comments

Comments
 (0)