UNPKG
gn-node
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Node.js native addon build tool with GN.
github.com/Shouqun/node-gn
Shouqun/node-gn
gn-node
/
lib
/
gen.js
13 lines
(9 loc)
•
253 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
module
.
exports
=
exports
= gen;
var
gnUtil =
require
(
'./util'
)
function
gen
(
commandArgs
) {
// Run 'gn gen'.
gnUtil.
preprocessGnArgs
(commandArgs);
console
.
log
(
'Run gn: '
+ commandArgs.
join
(
' '
));
//
TODO:
gnUtil.
runGnCommand
(commandArgs); }