Skip to content

Commit

Permalink
Fix build scripts missing links
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Cauchois committed Nov 30, 2016
1 parent 88ebc8e commit 2047cad
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions build/dev-setup.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ echo.
echo -- Creating links for %cd% --
call npm link azure-iot-common
call npm link azure-iot-device
call npm link azure-iot-device-amqp
call npm link azure-iot-device-http
call npm link azure-iot-device-mqtt
call npm link azure-iothub
call npm install

Expand Down
5 changes: 4 additions & 1 deletion build/dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ npm link azure-iot-device-mqtt
npm link azure-iothub
npm install

cd $node_root/../tools/iothub-explorer
cd $node_root/tools/iothub-explorer
echo "\n-- Creating links for `pwd` --"
npm link azure-iot-common
npm link azure-iot-device
npm link azure-iot-device-amqp
npm link azure-iot-device-http
npm link azure-iot-device-mqtt
npm link azure-iothub
npm install
[ $? -eq 0 ] || exit $?
Expand Down
3 changes: 3 additions & 0 deletions build/dev-teardown.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ call npm rm azure-iothub
cd %node-root%\..\tools\iothub-explorer
echo -- Removing links for %cd% --
call npm rm azure-iothub
call npm rm azure-iot-device-mqtt
call npm rm azure-iot-device-http
call npm rm azure-iot-device-amqp
call npm rm azure-iot-device
call npm rm azure-iot-common

Expand Down
3 changes: 3 additions & 0 deletions build/dev-teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ npm rm azure-iothub
cd $node_root/../tools/iothub-explorer
echo "-- Removing links for `pwd` --"
npm rm azure-iothub
npm rm azure-iot-device-mqtt
npm rm azure-iot-device-http
npm rm azure-iot-device-amqp
npm rm azure-iot-device
npm rm azure-iot-common

Expand Down
2 changes: 1 addition & 1 deletion build/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"homepage": "https://github.com/azure/azure-iot-sdks#readme",
"dependencies": {
"azure-iothub": "1.1.0",
"azure-iothub": "1.1.1",
"chalk": "^1.1.3",
"pem": "^1.8.3",
"yargs": "^4.7.1"
Expand Down

0 comments on commit 2047cad

Please sign in to comment.