kopia lustrzana https://github.com/inkstitch/inkstitch
18 wiersze
305 B
Bash
Executable File
18 wiersze
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [ "$BUILD" = "windows" ]; then
|
|
args="-w --ia32"
|
|
elif [ "$BUILD" = "linux" ]; then
|
|
args="-l --x64"
|
|
elif [ "$BUILD" = "osx" ]; then
|
|
args="-m"
|
|
fi
|
|
|
|
cd electron
|
|
which yarn > /dev/null 2>&1 || npm install -g yarn
|
|
yarn --link-duplicates --pure-lockfile
|
|
yarn run dist ${args}
|