From 67197a5a5a9e2d0c7f0e939294d4ba61714fc091 Mon Sep 17 00:00:00 2001 From: Ev Date: Mon, 17 Sep 2018 20:48:44 -0300 Subject: [PATCH] Using local yarn instance instead (#4093) * Using local yarn instance instead * Improves git submodule command on first run (empty submodules folders) and corresponding docs --- README.md | 1 + appveyor.yml | 2 -- package.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01bfd914f..2cbc4324b 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ Now you're ready to initialize Mist for development: ```bash $ git clone https://github.com/ethereum/mist.git $ cd mist +$ git submodule update --init --recursive $ yarn ``` diff --git a/appveyor.yml b/appveyor.yml index 4cb15dd64..c9553f8c7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,8 +40,6 @@ install: # installs global dependencies - choco install meteor - choco install nsis - # prevents node 10 to be installed, as it's a dependency of yarn - - choco install yarn --ignore-dependencies - refreshenv - ps: refreshenv diff --git a/package.json b/package.json index f23ab73b0..e89cb82e0 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "scripts": { "precommit": "pretty-quick --staged", - "postinstall": "git submodule update --recursive && yarn task pack-wallet && (cd interface && yarn)", + "postinstall": "git submodule update --init --recursive && yarn task pack-wallet && (cd interface && yarn)", "dev:electron": "electron -r babel-register main.js", "dev:meteor": "cd interface && meteor --no-release-check", "dev:tools": "remotedev & (sleep 3 && open http://localhost:8000)",