Skip to content

Instantly share code, notes, and snippets.

@jhoelzl
Last active August 9, 2016 16:32
Show Gist options
  • Save jhoelzl/08d0c7f4edeece4584bf to your computer and use it in GitHub Desktop.
Save jhoelzl/08d0c7f4edeece4584bf to your computer and use it in GitHub Desktop.
Generate modman mapping file for each module file individually
# 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