Skip to content

Instantly share code, notes, and snippets.

@jhoelzl
jhoelzl / .bashrc
Last active August 9, 2016 16:32
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
}