Debian Codegraph @

debian/patches/fix-Gruntfile-for-Debian.patch

raw symbols SCIP
1 Description: The Debian location of the Grunt modules isn't found automatically
2 yet. So we need to help Grunt.
3 .
4 Actually, as of Grunt 1.0.1-7, this is possible, but while Grunt isn't
5 backported to stretch, let's keep the patch.
6 .
7 Also not all modules are packaged yet, so disable cssmin for now.
8 Author: Paul Gevers <[email protected]>
9 Forwarded: not-needed
10 Index: jquery-tablesorter/Gruntfile.js
11 ===================================================================
12 --- jquery-tablesorter.orig/Gruntfile.js
13 +++ jquery-tablesorter/Gruntfile.js
14 @@ -373,16 +373,16 @@ module.exports = function( grunt ) {
15
16 });
17
18 - grunt.loadNpmTasks( 'grunt-contrib-clean' );
19 - grunt.loadNpmTasks( 'grunt-contrib-jshint' );
20 - grunt.loadNpmTasks( 'grunt-htmlhint' );
21 - grunt.loadNpmTasks( 'grunt-contrib-qunit' );
22 - grunt.loadNpmTasks( 'grunt-contrib-concat' );
23 - grunt.loadNpmTasks( 'grunt-contrib-uglify' );
24 - grunt.loadNpmTasks( 'grunt-contrib-copy' );
25 - grunt.loadNpmTasks( 'grunt-contrib-watch' );
26 - grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
27 - grunt.loadNpmTasks( 'grunt-jscs' );
28 + grunt.loadNpmTasks( 'grunt-contrib-clean', '/usr/lib/nodejs' );
29 + grunt.loadNpmTasks( 'grunt-contrib-jshint', '/usr/lib/nodejs' );
30 + grunt.loadNpmTasks( 'grunt-htmlhint', '/usr/lib/nodejs' );
31 + grunt.loadNpmTasks( 'grunt-contrib-qunit', '/usr/lib/nodejs' );
32 + grunt.loadNpmTasks( 'grunt-contrib-concat','/usr/lib/nodejs' );
33 + grunt.loadNpmTasks( 'grunt-contrib-uglify','/usr/lib/nodejs' );
34 + grunt.loadNpmTasks( 'grunt-contrib-copy','/usr/lib/nodejs' );
35 + grunt.loadNpmTasks( 'grunt-contrib-watch', '/usr/lib/nodejs' );
36 + grunt.loadNpmTasks( 'grunt-contrib-cssmin', '/usr/lib/nodejs' );
37 + grunt.loadNpmTasks( 'grunt-jscs', '/usr/lib/nodejs' );
38
39 grunt.registerTask( 'test', [ 'jscs', 'jshint', 'htmlhint', 'qunit' ] );
40
41 @@ -391,8 +391,8 @@ module.exports = function( grunt ) {
42 'copy',
43 'concat',
44 'uglify',
45 - 'cssmin',
46 - 'clean:css',
47 +// 'cssmin',
48 +// 'clean:css',
49 'updateManifest'
50 ];
51