Skip to content

wokim/gulp-p4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-p4

perforce plugin for gulp

Install

npm install gulp-p4 --save-dev

Example

var p4 = require('node-perforce');
var gulp = require('gulp');
var gulpP4 = require('gulp-p4');

gulp.task('default', function(callback) {
  p4.changelist.create({description: 'hello world'}, function(err, cl) {
    if (err) return callback(err);
    gulp.src('./*.js')
      .pipe(gulpP4('add', {changelist:cl}))
      .pipe(gulp.dest('./dist'));
    callback();
  });
});

About

perforce plugin for gulp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published