kopia lustrzana https://github.com/inkstitch/inkstitch
15 wiersze
360 B
Bash
Executable File
15 wiersze
360 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$BUILD" = "windows" ]; then
|
|
docker run --rm \
|
|
-e ELECTRON_CACHE=$HOME/.cache/electron \
|
|
-v ${PWD}/electron:/project \
|
|
-v ~/.cache/electron:/root/.cache/electron \
|
|
electronuserland/builder:wine \
|
|
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run dist"
|
|
else
|
|
cd electron
|
|
yarn install
|
|
yarn run dist
|
|
fi
|