intel / iotivity-node

Node.js bindings for IoTivity
https://www.iotivity.org/
42 stars 44 forks source link

install: Port post install task for Linux libs #158

Closed rzr closed 6 years ago

rzr commented 7 years ago

While trying iot-rest-api-server, I observed this issue on npm install:

node build-scripts/postinstall.js mv: no such file or directory: .../iotivity-node/build/Release/octbstack.dll

This can reproduced on iotivity node using:

NODE_ENV=production npm install

So libraries names depends on os.platform

Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 86.951% when pulling 8c525f990d34e0923d3d09118c8f21076d3854a9 on TizenTeam:sandbox/pcoval/review into 20a90796496578f6a29e4f3cd74838e5ab464bfe on otcshare:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 86.951% when pulling 07bcb47ac20ab68250aa73e525e72f1dc37b4e54 on TizenTeam:sandbox/pcoval/review into 20a90796496578f6a29e4f3cd74838e5ab464bfe on otcshare:master.