Closed kalwalt closed 4 years ago
How can i exclude the libar.bc from cleaning and to be built again? I would add an option (flag) running the script that exclude the libar.bc like this:
npm run build-local-no-libar
How we can achieve this?
i started to develop a mod for the makem.js script. It preserve the libar.bc if you have already built it. This will save you time while testing your modiifes on jsartoolkit5. If you only modify ARToolkitJS.cpp or artoolkit.api.js rebuild libar.bc is a waste of time. Rebuilding libar.bc is only needed when you directly modify Artoolkit5 source code. From my experience i never did this. So, with this option the script take much less time to compile now. PR is on the way...
merged into https://github.com/webarkit/jsartoolkit5/
Actually the script makem.js delete all the libs when you run
npm run build-local
but if you don't alter the artoolkit5 source is not necessary rebuild every time libar.bc, it will save time for the build process keep the libar.bc library and rebuild only the .min .debug and .wasm libs.