From 6a4aa0ca586b64c73a5e2da5e7d550c8cf13c123 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 16 Jun 2023 13:36:30 +0200 Subject: [PATCH] build: install submodules before building --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ec2d8ee..4eb00bb 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,10 @@ "url": "https://github.com/electron/node-minidump/issues" }, "scripts": { - "test": "mocha test && standard", "prepublishOnly": "shx chmod -R +x ./bin", - "preinstall": "node build.js" + "preinstall": "yarn submodule && node build.js", + "submodule": "git submodule update --init --recursive", + "test": "mocha test && standard" }, "devDependencies": { "electron-download": "^3.0.1",