Simple script which helps generate modman file based update "git ls-files" command.
Simple script which helps generate Magento modman file based upon "git ls-files" command. It's useful on create package with usage of magento-composer-installer., (*1)
To generate modman file just go to your Magento project root directory and run:, (*2)
modman-generate
It get all files under GIT by command git ls-files
.
It excludes files by masks
- modman
- composer.json
- composer.lock
- .gitignore
- README.md
- LICENSE, (*3)
It is looking for directories by masks:
- app/code/*/*/*/ (like app/code/community/Namespace/ModuleName/
)
- app/design/*/*/*/*/*/*/ (like app/design/adminhtml/default/default/template/namespace/modulename
)
- app/etc/modules/*
- app/locale/*
- lib/*, (*4)
It also looks for files from directories: - shell - js - skin, (*5)