|
@@ -99,9 +99,12 @@ parts:
|
|
|
override-build: |
|
|
|
set -x
|
|
|
#sed -i 's/"zwave-js".*$/"zwave-js"\: "8.3.2-0-pr-3262-f5cdbca"/g' ${SNAPCRAFT_PART_BUILD}/package.json
|
|
|
+ printenv
|
|
|
if [ -n "${http_proxy-}" ]; then
|
|
|
export GLOBAL_AGENT_HTTP_PROXY="${http_proxy}"
|
|
|
+ yarn config set httpProxy "${http_proxy}"
|
|
|
export GLOBAL_AGENT_HTTPS_PROXY="${http_proxy}"
|
|
|
+ yarn config set httpsProxy "${http_proxy}"
|
|
|
fi
|
|
|
yarn install --immutable
|
|
|
yarn run build \
|