Last active
March 15, 2019 15:48
-
-
Save ryanburnette/0dc72e37ae3c2ea3af91 to your computer and use it in GitHub Desktop.
Convert all .scss to .sass in the current directory, or vice versa.
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
#!/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 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