Created
April 11, 2014 16:51
-
-
Save pedrogpimenta/10483756 to your computer and use it in GitHub Desktop.
Convert SASS to SCSS and delete .sass files (applies to all files in current folder)
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
sass-convert -R ./ -F sass -T scss && rm *.sass |
Just ran it on a project called bulma. it worked great but didn't delete .sass files in subfolders.
Same here, sass files are still here
To do recursive delete of .sass files in subfolders:
sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete
Thanks @Nezteb 😄
Thanks!
@Nezteb code worked like a charm. Save me a lot of time. Thanks
@Nezteb I can't find the "like" button ;)
Thanks @Nezteb
Oh god, I just saw all these comments. I just saved that gist for my own use, just to keep track of that command to convert without deleting. Glad to see people pitch in :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this on any command line or do I need a specific file to be installed or what.. This is something I really really wanted to use, but it's too self-explanatory to try without being 100% certain first. Your thoughts and further explanation would be appreciated.