HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/f/r/e/frenchy/www/french-american.org/current/node_modules/gulp-listfiles/gulpfile.js
var gulp        = require('gulp'),
    listfiles   = require('./index'),
    nodeunit    = require('gulp-nodeunit');

var options = {
    filename: 'output.txt',
    banner: '/**\n' +
    ' * list files banner\n' +
    ' */\n' +
    '{\n' +
    '\t[',
    footer: '\t]\n' +
    '}',
    eol: 'lf',
    prefix: '\t\t\'',
    postfix: '\',',
    postfixLastLine: '\'',
    replacements: [
        {
            pattern: /\.min/gi,
            replacement: ''
        },
        {
            pattern: /(file)(_)([\S]*?)(_)(test)/gi,
            replacement: function (match, p1, p2, p3, p4, p5, offset, string) {
                return [p1, p3, p5].join('-');
            }
        }]
};

gulp.task('listfiles', function () {
    return gulp.src([
        'test/fixtures/**/*.*',
        '!test/fixtures/{,*/,**/}*.{scss,html,md,rb}',
        '!test/fixtures/{,*/,**/}LICENSE'
    ], { read: false, base: './' })
        .pipe(listfiles(options))
        .pipe(gulp.dest('tmp/'));
});

gulp.task('test', function () {
    gulp.src('test/*_test.js')
        .pipe(nodeunit());
});