dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused global define RLH_FOR_UPDATE
[lhc/web/wiklou.git]
/
Gruntfile.js
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
4481e39
..
a292d0b
100644
(file)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-1,5
+1,6
@@
/*jshint node:true */
module.exports = function ( grunt ) {
/*jshint node:true */
module.exports = function ( grunt ) {
+ grunt.loadNpmTasks( 'grunt-contrib-copy' );
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
@@
-21,7
+22,7
@@
module.exports = function ( grunt ) {
},
all: [
'*.js',
},
all: [
'*.js',
- '{includes,languages,resources,
skins,
tests}/**/*.js'
+ '{includes,languages,resources,tests}/**/*.js'
]
},
jscs: {
]
},
jscs: {
@@
-83,6
+84,16
@@
module.exports = function ( grunt ) {
more: {
browsers: [ 'Chrome', 'Firefox' ]
}
more: {
browsers: [ 'Chrome', 'Firefox' ]
}
+ },
+ copy: {
+ jsduck: {
+ src: 'resources/**/*',
+ dest: 'docs/js/modules',
+ expand: true,
+ rename: function ( dest, src ) {
+ return require( 'path' ).join( dest, src.replace( 'resources/', '' ) );
+ }
+ }
}
} );
}
} );