-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renamed module_name and target_name #59
base: master
Are you sure you want to change the base?
Conversation
@@ -1,7 +1,7 @@ | |||
{ | |||
'targets': [ | |||
{ | |||
'target_name': 'binding', | |||
'target_name': 'bluetooth_hci_socket', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to use dashes in place of underscores here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. We can use "<(module_name)" here but in the package file it needs to be a valid C variable name, so no dashes.
See https://github.com/mapbox/node-pre-gyp#module_name
Is this still relevant ? |
Please can you forward this change to: https://github.com/abandonware/node-bluetooth-hci-socket/ FYI an updated version has been released: https://www.npmjs.com/package/@abandonware/bluetooth-hci-socket/v/0.5.3-5 |
The idea is to make sure you don't use common names that could be used by other modules.
This becomes important when you use "host override" feature of node-pre-gyp