Last active
August 9, 2016 16:28
-
-
Save pedrambehroozi/294c0ed23f1d8e2786e8 to your computer and use it in GitHub Desktop.
modman file generator for Magento
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
#!/bin/sh | |
# usage: ./modman-generator module-dir-name | |
cd $1 | |
echo "Generating magento modman file in $1" | |
rm -f modman | |
git ls-files | egrep -v '.svn|composer.json|modman|.gitignore|README|package.xml|.sass-cache|LICENSE.txt|readme.*' | awk -F'\t' '{print $1 " " $1}' >> modman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment