Skip to content

Commit

Permalink
Add npm postinstall task for pc-ble-driver-js
Browse files Browse the repository at this point in the history
Currently yarn does not pull down submodules when installing git
dependencies. See yarnpkg/yarn#1488 for more
information. After yarn has finished the installation, the pc-ble-driver
submodule directory is empty. In order to workaround this issue, we need
an extra postinstall task.
  • Loading branch information
mrodem committed Nov 26, 2016
1 parent 3031ea0 commit 315e268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nrfconnect-appmodule-ble/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "node ../../scripts/test.js",
"clean": "node ../../scripts/clean.js",
"linkup": "node ../../scripts/linkup.js",
"postinstall": "yarn run linkup"
"postinstall": "npm install pc-ble-driver-js && yarn run linkup"
},
"config": {
"title": "Bluetooth Low Energy (BLE)",
Expand Down

0 comments on commit 315e268

Please sign in to comment.