Skip to content

Commit ef1eb8e

Browse files
committed
fix build on windows
1 parent c1cef41 commit ef1eb8e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

gulpfile.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
var gulp = require('gulp')
2-
var shell = require('gulp-shell')
1+
var path = require('path');
2+
var gulp = require('gulp');
3+
var shell = require('gulp-shell');
34

5+
var taskPath = path.resolve('./node_modules/.bin/tsc');
46
// build
5-
gulp.task('build', shell.task([ './node_modules/.bin/tsc' ]));
7+
gulp.task('build', shell.task([ taskPath ]));
68

79
// default
810
gulp.task('default', ['build']);

0 commit comments

Comments
 (0)