Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
7ff229fa
Commit
7ff229fa
authored
Apr 15, 2016
by
Nikolai Vavilov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support Windows in gulpfile.js
parent
814685ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gulpfile.js
js/gulpfile.js
+5
-1
package.json
js/package.json
+1
-1
No files found.
js/gulpfile.js
View file @
7ff229fa
var
gulp
=
require
(
'gulp'
);
var
exec
=
require
(
'child_process'
).
exec
;
var
exec
File
=
require
(
'child_process'
).
execFile
;
var
glob
=
require
(
'glob'
);
function
exec
(
command
,
cb
)
{
execFile
(
'sh'
,
[
'-c'
,
command
],
cb
);
}
var
protoc
=
process
.
env
.
PROTOC
||
'../src/protoc'
;
gulp
.
task
(
'genproto_closure'
,
function
(
cb
)
{
...
...
js/package.json
View file @
7ff229fa
...
...
@@ -13,7 +13,7 @@
"glob"
:
"~6.0.4"
},
"scripts"
:
{
"test"
:
"./node_modules/gulp/bin/gulp.js test"
"test"
:
"
node
./node_modules/gulp/bin/gulp.js test"
},
"repository"
:
{
"type"
:
"git"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment