This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
display: flex; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var expect = require('chai').expect, | |
through = require('through2'), | |
gutil = require('gulp-util'), | |
clone = require('./'); | |
describe('gulp-clone', function() { | |
it('should clone files in the stream', function(done) { | |
var sourceStream = clone(), | |
cloneStream = clone(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In this example, 'README' does not exist (it is named 'README.md') | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
fileexists: { | |
test: { | |
src: ['test.html', 'README', 'package.json'] | |
} | |
} | |
}); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
var conf = { | |
pkg: grunt.file.readJSON('package.json') | |
}; | |
grunt.file.recurse('./.grunt/config', function(a, r, s, f) { | |
conf[f.replace(/\.js$/, '')] = require('./' + a); | |
}); |