Le 21/08/2019 à 14:42, mer...@debian.org a écrit : > Package: pkg-js-tools > Version: 0.9.7 > > Hello, > > Gruntfile.coffee seems to be an alias of Gruntfile.js: both of them are > used by grunt. From 'grunt --help': > > --gruntfile Specify an alternate Gruntfile. By default, grunt looks > in the > current or parent directories for the nearest > Gruntfile.js or > Gruntfile.coffee file. > > The following patch would detect Gruntfile.coffee automatically, as is > done with Gruntfile.js: > > --- a/lib/Debian/Debhelper/Buildsystem/nodejs.pm > +++ b/lib/Debian/Debhelper/Buildsystem/nodejs.pm > @@ -22,6 +22,7 @@ my @known_build_commands = (qw(grunt echo touch ls)); > # Order is important here, example: tsc must be launched before other > my @knwonBuildFiles = ( > [ 'Gruntfile.js' => ['grunt'] ], > + [ 'Gruntfile.coffee' => ['grunt'] ], > > #[ 'tsconfig.json' => ['tsc'] ], > #[ 'gulpfile.js' => ['gulp'] ], > > Best, > Andrius
Hi, thanks for your reports! A a workaround, you can set "grunt" in debian/nodejs/build. If you are doing more test, I can wait to push next pkg-js-tools with your patches Cheers, Xavier -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel