PHPackages                             petemc/sculpin-gulp-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. petemc/sculpin-gulp-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

petemc/sculpin-gulp-bundle
==========================

Run gulp tasks with sculpin generate

v0.0.1(10y ago)0105MITPHPCI failing

Since Apr 13Pushed 10y agoCompare

[ Source](https://github.com/petemcfarlane/sculpin-gulp-bundle)[ Packagist](https://packagist.org/packages/petemc/sculpin-gulp-bundle)[ RSS](/packages/petemc-sculpin-gulp-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Sculpin Gulp Bundle
===================

[](#sculpin-gulp-bundle)

This bundle will allow you to run gulp tasks from the `sculpin generage` or `sculpin generate --watch` commands.

For example, you might want to build some SASS files to CSS, minify or concat your asset files.

Pre-requisites
--------------

[](#pre-requisites)

This package currently isn't as fancy as to install npm or gulp, that task is left up to the user. These commands will install gulp as an npm package.

First make sure you have a `package.json` file with this command

`$ [ -f package.json ] && echo "package.json exists" || echo "{}" > package.json`

Require gulp as a dev dependancy

`$ npm install gulp --save-dev`

Check gulp is working

`$ gulp`

Create a `gulpfile.js` in your project root and put your tasks in there. You should name one task `sculpin`, as this will be run by the `sculpin generate` command (see example further down).

Setup
-----

[](#setup)

Edit your `sculpin.json` file to include this package, then install by running `sculpin update`.

```
{
    "require": {
        "petemc/sculpin-gulp-bundle": "@dev"
    }
}
```

Create (or update an existing) `app/SculpinKernel.php` file to require the package with the following code:

```
