|
@@ -79,17 +79,17 @@ parts:
|
|
|
plugin: dump
|
|
|
source: https://github.com/zwave-js/zwavejs2mqtt.git
|
|
|
|
|
|
-
|
|
|
+ source-tag: $SNAPCRAFT_PROJECT_VERSION
|
|
|
build-packages:
|
|
|
- gcc
|
|
|
- build-essential
|
|
|
override-build: |
|
|
|
set -x
|
|
|
|
|
|
- if [ -n "${http_proxy-}" ]; then
|
|
|
- export GLOBAL_AGENT_HTTP_PROXY="${http_proxy}"
|
|
|
- export GLOBAL_AGENT_HTTPS_PROXY="${http_proxy}"
|
|
|
- fi
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
yarn install
|
|
|
yarn run build \
|
|
|
&& mkdir -p $SNAPCRAFT_PART_INSTALL/lib/node_modules \
|