2017 © Pedro Peláez
 

library m2cpb

Magento2 Component Package Builder

image

mmenozzi/m2cpb

Magento2 Component Package Builder

  • Friday, March 2, 2018
  • by mmenozzi
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,070 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Magento2 Component Package Builder

Builds a ZIP package of a Magento2 component (module, theme, language or library)., (*1)

Installation

Use Composer:, (*2)

composer require mmenozzi/m2cpb

Usage

Execute the following command:, (*3)

vendor/bin/m2cpb <src_path> <composer_file_path> <version> <destination_zip_path>

Where:, (*4)

  • <src_path>, is the path to the root directory of the component (the one which contains the registration.php file).
  • <composer_file_path>, is the path to the original composer.json file used during development. The following properties must be set: name, version, type, license, authors and autoload.
  • <version>, version to set into destination package. It's intended to be passed from a continuous integration system which builds a specific branch or tag.
  • <destination_zip_path>, is the path to the destination directory of the ZIP package file. The file name of the ZIP package is automatically generated using the Composer's package name and version.

License

This library is under the MIT license. See the complete license in the LICENSE file., (*5)

The Versions

02/03 2018

dev-master

9999999-dev

Magento2 Component Package Builder

  Sources   Download

MIT

The Development Requires

by Manuele Menozzi