Skip to content

Ability to hook into dependencies for default or index task #20

@egeriis

Description

@egeriis

It would be great to have the ability to specify other tasks, that the default or index tasks depends on. It could simply be an array of custom gulp tasks specified in the Pho config:

var flatten = require('gulp-flatten');

require('pho-devstack')(gulp, {
    dependencies: ['fonts']
});

gulp.task('fonts', function() {
    gulp.src('src/bower_components/**/fonts/*')
        .pipe(flatten())
        .pipe(gulp.dest('dist/fonts'));
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions