-
-
Save artmouse/b721a06271c13401bdadcf3b097f1da9 to your computer and use it in GitHub Desktop.
Generate modman mapping file for each module file individually
This file contains hidden or 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
# Add this command to your .bashrc and then use "gm" in your Magento modman folder to create a modman mapping file | |
# Generate modman | |
function gm() { | |
for i in `find . -type f | grep -v \.git/ | grep -v "^.$" | grep -v "modman" | sed 's/\.\///'`; do echo -e ${i}' '${i};done > modman | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment