Convert SASS to SCSS and delete .sass files (applies to all files in current folder)
sass-convert -R ./ -F sass -T scss && rm *.sass |
This comment has been minimized.
This comment has been minimized.
Just ran it on a project called bulma. it worked great but didn't delete .sass files in subfolders. |
This comment has been minimized.
This comment has been minimized.
Same here, sass files are still here |
This comment has been minimized.
This comment has been minimized.
To do recursive delete of .sass files in subfolders:
|
This comment has been minimized.
This comment has been minimized.
Thanks @Nezteb |
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
@Nezteb code worked like a charm. Save me a lot of time. Thanks |
This comment has been minimized.
This comment has been minimized.
@Nezteb I can't find the "like" button ;) |
This comment has been minimized.
This comment has been minimized.
Thanks @Nezteb |
This comment has been minimized.
This comment has been minimized.
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
This comment has been minimized.
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.