-
-
Save dd5md/9f194cc93cb6b38a1669f3837d0d25b4 to your computer and use it in GitHub Desktop.
Convert all .scss to .sass in the current directory, or vice versa.
This file contains hidden or 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
#!/usr/bin/env bash | |
for file in *.sass | |
do | |
sass-convert -F sass -T scss $file `echo $file | sed s/.sass/.scss/g`; | |
done | |
rm *.sass |
This file contains hidden or 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
#!/usr/bin/env bash | |
for file in *.scss | |
do | |
sass-convert -F scss -T sass $file `echo $file | sed s/.scss/.sass/g`; | |
done | |
rm *.scss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment