Skip to content

Commit 0428bbe

Browse files
committed
add resources to target
1 parent bdde6b6 commit 0428bbe

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

log4js/Gruntfile.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ module.exports = function (grunt) {
7373
*
7474
*/
7575
copy: {
76+
resources: {
77+
nonull: true,
78+
cwd: 'src/main/resources',
79+
src: ['**'],
80+
expand: true,
81+
dest: 'target/files/<%= pkg.name %>/resources'
82+
},
7683
example: {
7784
nonull: true,
7885
cwd: 'src/main/example',
@@ -167,7 +174,7 @@ module.exports = function (grunt) {
167174
* Run `grunt build` on the command line
168175
* This will generate ZIP-Archive with all required artifacts.
169176
*/
170-
grunt.registerTask('build', ['concat:build', 'uglify', 'jsdoc', 'compress', 'copy:example'] );
177+
grunt.registerTask('build', ['concat:build', 'uglify', 'jsdoc', 'compress', 'copy'] );
171178

172179
grunt.registerTask('test', ['build', 'karma'] );
173180
/**

0 commit comments

Comments
 (0)