提交 22d217ce 编写于 作者: J Joao Moreno

build

上级 a45efad5
......@@ -53,13 +53,11 @@ function getNodeVersion() {
const nodeVersion = getNodeVersion();
BUILD_TARGETS.forEach(({ platform, arch }) => {
const target = arch ? `${platform}-${arch}` : platform;
gulp.task(task.define(`node-${target}`, () => {
if (platform === 'darwin') {
arch = 'x64';
}
if (platform === 'darwin') {
arch = 'x64';
}
gulp.task(task.define(`node-${platform}-${arch}`, () => {
const nodePath = path.join('.build', 'node', `v${nodeVersion}`, `${platform}-${arch}`);
if (!fs.existsSync(nodePath)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册