mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
18
node_modules/kareem/gulpfile.js
generated
vendored
Normal file
18
node_modules/kareem/gulpfile.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
var gulp = require('gulp');
|
||||
var mocha = require('gulp-mocha');
|
||||
var config = require('./package.json');
|
||||
var jscs = require('gulp-jscs');
|
||||
|
||||
gulp.task('mocha', function() {
|
||||
return gulp.src('./test/*').
|
||||
pipe(mocha({ reporter: 'dot' }));
|
||||
});
|
||||
|
||||
gulp.task('jscs', function() {
|
||||
return gulp.src('./index.js').
|
||||
pipe(jscs(config.jscsConfig));
|
||||
});
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch('./index.js', ['jscs', 'mocha']);
|
||||
});
|
||||
Reference in New Issue
Block a user