evshiron / nwjs-builder

https://www.npmjs.com/package/nwjs-builder
76 stars 12 forks source link

How to exclude dirs from build #67

Open EthraZa opened 7 years ago

EthraZa commented 7 years ago

nwjs-builder has a --include option but does not seems to have a --exclude. I would like to ask for the possibility to have a --exclude option or a manifest option to exclude dirs depending on platform.

Case: In my app, I have a bin directory that has a Windows_NT dir and a Linux dir, I would like to get the Linux dir ignored when I build for Windows and the Window_NT dir ignored when I build for Linux.

evshiron commented 7 years ago

Hmm. First of all, nwjs-builder might no longer be maintained, switch to nwjs-builder-phoenix if possible.

To answer your question, I am afraid there isn't. Maybe separated build scripts for different platforms will work for you?