FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
vscode-pull-request-github/gulpfile.js at master · SingletonJava/vscode-pull-request-github · GitHub
SingletonJava
/
vscode-pull-request-github
Public
forked from
microsoft/vscode-pull-request-github
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
vscode-pull-request-github
/
gulpfile.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (21 loc) · 680 Bytes
Breadcrumbs
vscode-pull-request-github
/
gulpfile.js
Copy path
File metadata and controls
27 lines (21 loc) · 680 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const
gulp
=
require
(
'gulp'
)
;
const
ts
=
require
(
'gulp-typescript'
)
;
const
typescript
=
require
(
'typescript'
)
;
const
del
=
require
(
'del'
)
;
const
mocha
=
require
(
'gulp-mocha'
)
;
const
gutil
=
require
(
'gulp-util'
)
;
const
tsProject
=
ts
.
createProject
(
'tsconfig.json'
,
{
typescript
}
)
;
gulp
.
task
(
'build'
,
[
'clean'
]
,
(
)
=>
{
const
result
=
gulp
.
src
(
"src/**/*.ts"
)
.
pipe
(
tsProject
(
)
)
;
return
result
.
js
.
pipe
(
gulp
.
dest
(
'out'
)
)
;
}
)
;
gulp
.
task
(
'clean'
,
(
)
=>
{
return
del
(
[
'out'
]
)
;
}
)
;
gulp
.
task
(
'mocha'
,
[
'build'
]
,
(
)
=>
{
return
gulp
.
src
(
[
'out/test/**/*.js'
]
,
{
read
:
false
}
)
.
pipe
(
mocha
(
{
reporter
:
'list'
}
)
)
.
on
(
'error'
,
gutil
.
log
)
;
}
)
;
gulp
.
task
(
'default'
,
[
'mocha'
]
)
;
Back
|
FazBrowse Home
|
New Git URL