windows already has yarn, in a weird place

pull/769/head
Lex Neva 2020-08-18 14:58:52 -04:00
rodzic 53ba4f5303
commit c2c2d569c2
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
#!/bin/bash
set -e
set -x
if [ "$BUILD" = "windows" ]; then
args="-w --ia32"
@ -11,6 +12,6 @@ elif [ "$BUILD" = "osx" ]; then
fi
cd electron
npm install -g yarn
which yarn > /dev/null 2>&1 || npm install -g yarn
yarn --link-duplicates --pure-lockfile
yarn run dist ${args}