wallet-core/node_modules/gulp-tar/readme.md
2017-08-14 05:02:09 +02:00

1018 B

gulp-tar Build Status

Create tarball from files

Install

$ npm install --save-dev gulp-tar

Usage

const gulp = require('gulp');
const tar = require('gulp-tar');
const gzip = require('gulp-gzip');

gulp.task('default', () =>
	gulp.src('src/*')
		.pipe(tar('archive.tar'))
		.pipe(gzip())
		.pipe(gulp.dest('dist'))
);

API

tar(filename, [options])

filename

Type: string

Filename for the output tar archive.

options

Type: Object

Default options passed to Archiver's constructor and merged into the data passed to its append method.

License

MIT © Sindre Sorhus