gulp-rename-git

0.1.0 • Public • Published

gulp-rename-git

Install

npm install gulp-rename-git

Example use

var gulp = require('gulp'),
    gitRename = require('gulp-rename-git');

gulp.task('default', function() {
  return gulp.src('./src/*.js')

    // Look here
    .pipe(gitRename(function(path, gitHash) {
      path.dirname = '/' + gitHash + '/js/';
    }))

    .pipe(gulp.dest('./dist'));
});

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-rename-git

Weekly Downloads

4

Version

0.1.0

License

MIT

Last publish

Collaborators

  • gcollazo