perforce plugin for gulp
npm install gulp-p4 --save-dev
var p4 = require('gulp-p4');
gulp.task('task', function () {
return gulp.src(['files for add'])
.pipe(p4('add', {force: false, filetype: 'binary', changelist: 1000))
.pipe(gulp.dest('./dist'));
});
- add
- edit
- revert