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
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to