another fix pkg.target

This commit is contained in:
Dedy Martadinata Supriyadi 2022-02-28 04:03:47 +00:00
parent 8b7708b753
commit c57a933581

View File

@ -30,7 +30,7 @@ build-deemix:
- apt update && apt install -y --no-install-recommends zip git curl jq
- git clone --depth=1 https://gitlab.com/RemixDev/deemix-gui.git --recursive src
# Patching pkg.targets to our need
- jq '.pkg.targets = ["node16-linuxstatic-x64","node16-linuxstatic-arm64","node16-linuxstatic-armv7"]' deemix-gui/server/package.json > tmp.$$.json && mv tmp.$$.json src/server/package.json
- jq '.pkg.targets = ["node16-linuxstatic-x64","node16-linuxstatic-arm64","node16-linuxstatic-armv7"]' src/server/package.json > tmp.$$.json && mv tmp.$$.json src/server/package.json
# Set cache path yarn
- yarn config set cache-folder yarn-cache
# copy deemix-gui src to cached folder