[Pkg-javascript-devel] pkg-js-tools auto_builder

Xavier yadd at debian.org
Mon Aug 5 22:58:08 BST 2019


Hi,

I started auto_builder, it seems to work. I need some help to fix
$known_build_commands and $knwonBuildFiles and $knownCommandMap in
https://salsa.debian.org/js-team/pkg-js-tools/blob/experimental/dh_nodejs/Buildsystem/nodejs.pm

How it work ?
 1 - check if a debian/nodejs/build exists and launch it with "sh -e"
     (same for each component using debian/nodejs/<component>/build
 2 - check if package.json{scripts}{build} exists:
     - parse it to find known commands
     - launch these commands
     (same for each component)
 3 - check for known build files (Gruntfile.js,...) and launch the
     corresponding command

For now it die only if no command succeeds.



More information about the Pkg-javascript-devel mailing list