Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matks/ps-modules-builder

A tool to build ZIP archives for PrestaShop modules
https://github.com/matks/ps-modules-builder

modules prestashop

Last synced: 18 days ago
JSON representation

A tool to build ZIP archives for PrestaShop modules

Awesome Lists containing this project

README

        

# PrestaShop Modules ZIP Builder

## Requirements

You need to install a stand-alone composer PHAR archive at the root
of the folder.

You can get it from https://getcomposer.org/download/

You also need an environment where `zip` tool is available.

## Install

```
$ composer install
```

## Run

```
$ php modules-builder.php build-zip [module_folder]
```

ZIP archives are built into the `var` folder.

Example:

```
$ php modules-builder.php build-zip tests/Integration/module-samples/dashactivity
```

## Tests

```
$ php tests/Integration/run.php
```

## Todo

- check for PS security practices
- handle custom built steps from module itself
- strengthen steps, especially the ones using `exec()`
- add a progress bar