Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.
/ zf-gulp Public archive

A Zend Framework 2 module for Gulp configuration

License

Notifications You must be signed in to change notification settings

riddlestone/zf-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Riddlestone ZF-Gulp

A Zend Framework 2 module for Gulp configuration

Repository archived 2020-02-06

This repository has been replaced with riddlestone/brokkr-gulpfile.

Note that the new package is much simpler, so some work will be involved in switching to use it.

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

composer require riddlestone/zf-gulp

Usage

To include your Gulp pipeline in the generated configuration file, create a Riddlestone\ZF\Gulp\ProviderInterface implementation, and add it to your module's config file:

<?php
return [
    'gulp' => [
        'providers' => [
            'My\\GulpProvider',
        ],
    ],
    'service_manager' => [
        'factories' => [
            'My\\GulpProvider' => 'My\\GulpProviderFactory',
        ],
    ],
];

Have the provider return an array of Riddlestone\ZF\Gulp\PipelineInterface objects.

You can then generate gulpfile.js using the console command :

vendor/bin/console gulp

Get Involved

File issues at https://github.com/riddlestone/zf-gulp/issues

About

A Zend Framework 2 module for Gulp configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages