andkirby / modman-generator
Simple script which helps generate modman file based update "git ls-files" command.
Installs: 1 357
Dependents: 1
Suggesters: 0
Security: 0
Stars: 15
Watchers: 1
Forks: 7
Open Issues: 2
README
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.
Usage
To generate modman file just go to your Magento project root directory and run:
modman-generate
How it works
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
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/*
It also looks for files from directories:
- shell
- js
- skin