mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Add gulp declarations.
This commit is contained in:
@@ -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']);
|
||||
Reference in New Issue
Block a user