andkirby/modman-generator

Simple script which helps generate modman file based update "git ls-files" command.

v0.1.9 2016-06-21 07:10 UTC

This package is auto-updated.

Last update: 2024-12-20 02:46:32 UTC


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