Skip to content
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

Include files not located inside build directory #236

Open
jonathan-roy opened this issue Jan 18, 2019 · 2 comments
Open

Include files not located inside build directory #236

jonathan-roy opened this issue Jan 18, 2019 · 2 comments

Comments

@jonathan-roy
Copy link

Hi,

How is it possible to include in the prebuilt output some files that are not located in the build directory? I am using the following structure:

  • build: node-gyp output.
  • lib: directory containing some shared libraries required by the addon.node.

When I prebuild, even if I pass --include-dir '\\.(node|dylib)$' the prebuilt output only contains the .node file.

@vweevers
Copy link
Member

vweevers commented Mar 3, 2019

Is it possible for you to move or copy lib/ into build/? Because prebuild >= 8.2.0 recursively collects artifacts in the build/ folder (#238). With a matching --include-dir option you should then be able to include your shared libraries.

@akarsh42
Copy link

I also have the same problem while building node-pty fro windows is not packing winpyt.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants