1.0.2 • Published 7 years ago
gulp-tar-path v1.0.2
gulp-tar-path
Create tarball from files and directories
Install
$ npm install --save gulp-tar-path
Usage
const gulp = require('gulp');
const tar = require('gulp-tar-path');
const gzip = require('gulp-gzip');
gulp.task('tar', function() {
gulp.src(["app.js", "bin", "src"])
.pipe(tar('archive.tar'))
.pipe(gulp.dest('./'))
});
API
tar(filename, options)
filename
Type: string
Filename for the output tar archive.
options
Type: object
Default file headers passed to tar-stream.
License
MIT ©