Add gulp declarations.

This commit is contained in:
Drew Noakes
2014-09-08 17:00:23 +01:00
parent 50dd84eb5d
commit 9371775cde
2 changed files with 307 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/// <reference path="gulp.d.ts" />
var typescript: any = null; // this would be the TypeScript compiler
var jasmine: any = null; // this would be the jasmine test runner
gulp.task('compile', function()
{
gulp.src("**/*.ts")
.pipe(typescript)
.dest('out')
});
gulp.task('test', ['compile'], function()
{
gulp.src("out/test/**/*.js")
.pipe(jasmine);
});
gulp.task('default', ['compile', 'test']);