Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-79-npm / gulp / gulpfile.js
406 bytesRaw
1 | /* eslint-disable no-underscore-dangle */ |
2 | |
3 | 'use strict'; |
4 | |
5 | var gulp = require('gulp'); |
6 | var concat = require('gulp-concat'); |
7 | |
8 | gulp.task('default', function () { |
9 | gulp.src('gulp-concat-*.txt') |
10 | .pipe(concat('gulp-concat-out.txt', { newLine: '' })) |
11 | .on('data', |
12 | function (c) { |
13 | if (c._contents.toString() === '123456') { |
14 | (console._log_ || console.log)('ok'); |
15 | } |
16 | } |
17 | ); |
18 | }); |
19 |
Built with git-ssb-web