Created
November 17, 2014 22:16
-
-
Save trevorparscal/92ccdc4c49ab033d9ba8 to your computer and use it in GitHub Desktop.
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
# Execute this in the root of the mmv repo | |
# Find and replace script symbols | |
find resources/mmv -name \*.js -exec sed -i '' \ | |
-e 's/TextInputMenuWidget/TextInputMenuSelectWidget/g' \ | |
-e 's/MenuWidget/MenuSelectWidget/g' \ | |
-e 's/MenuItemWidget/MenuOptionWidget/g' \ | |
-e 's/MenuSectionItemWidget/MenuSectionOptionWidget/g' \ | |
-e 's/OutlineWidget/OutlineSelectWidget/g' \ | |
-e 's/OutlineItemWidget/OutlineOptionWidget/g' \ | |
-e 's/contextMenuWidget/contextSelectWidget/g' \ | |
-e 's/contextItemWidget/contextOptionWidget/g' \ | |
-e 's/textInputMenuWidget/textInputMenuSelectWidget/g' \ | |
-e 's/menuWidget/menuSelectWidget/g' \ | |
-e 's/menuItemWidget/menuOptionWidget/g' \ | |
-e 's/menuSectionItemWidget/menuSectionOptionWidget/g' \ | |
-e 's/outlineWidget/outlineSelectWidget/g' \ | |
-e 's/outlineItemWidget/outlineOptionWidget/g' {} + | |
# Find and replace style symbols | |
find resources/mmv -name \*.less -exec sed -i '' \ | |
-e 's/textInputMenuWidget/textInputMenuSelectWidget/g' \ | |
-e 's/menuWidget/menuSelectWidget/g' \ | |
-e 's/menuItemWidget/menuOptionWidget/g' \ | |
-e 's/menuSectionItemWidget/menuSectionOptionWidget/g' \ | |
-e 's/outlineWidget/outlineSelectWidget/g' \ | |
-e 's/outlineItemWidget/outlineOptionWidget/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment