From 36872bbdda769666da6dbdb0267307f054afbdf2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 21 Mar 2019 08:08:46 -0400 Subject: [PATCH] manual sub:init needed --- README.md | 1 + appveyor.yml | 1 + package.json | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c78fc0a5ad2..f32956fe9e1 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ We provide detailed documentation and examples for using the CLI in our help cen **Run the app** ```bash +npm run sub:init npm install npm run build:watch ``` diff --git a/appveyor.yml b/appveyor.yml index c5ab823a8df..89569e9ab75 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -73,6 +73,7 @@ build_script: if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action delete -mask ICONGROUP,1, if defined VER_INFO ResourceHacker -open version-info.rc -save version-info.res -action compile if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action addoverwrite -resource version-info.res +- cmd: npm run sub:init - cmd: npm install - cmd: npm run dist - cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe diff --git a/package.json b/package.json index ca29a7f592e..6949644793b 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "sub:init": "git submodule update --init --recursive", "sub:update": "git submodule update --remote", "sub:pull": "git submodule foreach git pull", - "postinstall": "npm run sub:init", "clean": "rimraf dist/**/*", "build": "webpack", "build:watch": "webpack --watch",