UNPKG
po-development-package
Version:
latest (0.3.2)
0.3.2
0.3.1
0.3.0
0.2.16
0.2.15
0.2.14
The development package for central platform.
po-development-package
/
lib
/
ponk_start.js
10 lines
(8 loc)
•
294 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
require
(
'shelljs/global'
);
const
util =
require
(
'../util'
);
module
.
exports
=
() =>
{
let
gulpfilePath = util.
root
(
'dev-package/build/gulpfile.js'
);
let
cwd = util.
cwd
();
let
gulpCmd =
`gulp4 build --gulpfile "
${gulpfilePath}
" --cwd "
${cwd}
" --color=always`
;
exec
(gulpCmd); };