for file in app/views/**/*.erb; do html2haml -e $file ${file%erb}haml && rm $file; done
Created
April 10, 2019 23:27
-
-
Save thadeu/272a117b2a14e9f50f39bc0c4a60a7d9 to your computer and use it in GitHub Desktop.
Convert all files ERB to HAML within specific folder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment