prebuild
prebuild copied to clipboard
Include files not located inside build directory
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 theaddon.node
.
When I prebuild, even if I pass --include-dir '\\.(node|dylib)$'
the prebuilt output only contains the .node
file.
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.
I also have the same problem while building node-pty fro windows is not packing winpyt.exe