2015-10-26 15:18:37 +00:00
|
|
|
/// <reference path="typings/tsd.d.ts" />
|
|
|
|
var gulp = require("gulp");
|
|
|
|
var gulpCallFunction = require("./index.js");
|
2015-11-24 12:49:02 +00:00
|
|
|
var beautylog = require("beautylog")("os");
|
2015-10-26 15:18:37 +00:00
|
|
|
|
|
|
|
var myFunction = function () {
|
2015-11-24 12:49:02 +00:00
|
|
|
beautylog.log("Hello World!");
|
2015-10-26 15:18:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
gulp.task('default',function() {
|
|
|
|
gulp.src('./test/test.md')
|
|
|
|
.pipe(gulpCallFunction(myFunction,'forEach'))
|
|
|
|
.pipe(gulp.dest("./test/result/"))
|
|
|
|
});
|
|
|
|
gulp.start.apply(gulp, ['default']);
|