Last active
December 11, 2015 05:18
-
-
Save captbrogers/4551111 to your computer and use it in GitHub Desktop.
Bash script to convert SCSS to SASS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in $@ | |
do | |
echo "Converting $i -> ${i%.*}.sass" | |
# not sure any of the flags are neccessary but I put them in anyway | |
sass-convert --from scss --to sass --indent 4 $i ${i%.*}.sass | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment