Skip to content

Commit 4fea55e

Browse files
author
per ploug
committed
More efficient grunt execution
1 parent c34f83e commit 4fea55e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/Umbraco.Web.UI.Client/gruntFile.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function (grunt) {
66
grunt.registerTask('dev', ['jshint:dev', 'build', 'webserver', 'open:dev', 'watch']);
77

88
//run by the watch task
9-
grunt.registerTask('watch-js', ['jshint:dev','concat','copy:app','copy:mocks','copy:packages','copy:tuning','copy:vs','karma:unit']);
9+
grunt.registerTask('watch-js', ['jshint:dev','concat','copy:app','copy:mocks','copy:packages','copy:tuning','copy:vs']);
1010
grunt.registerTask('watch-less', ['recess:build', 'recess:installer', 'recess:tuning','copy:tuning', 'copy:assets', 'copy:vs']);
1111
grunt.registerTask('watch-html', ['copy:views', 'copy:vs']);
1212
grunt.registerTask('watch-packages', ['copy:packages']);
@@ -125,12 +125,6 @@ module.exports = function (grunt) {
125125
{
126126
dest: '<%= distdir %>/lib/lazyload/lazyload.min.js',
127127
src: 'bower_components/rgrove-lazyload/lazyload.js'
128-
},
129-
{
130-
dest: '<%= distdir %>/lib/ace/',
131-
src: '**',
132-
expand: true,
133-
cwd: 'bower_components/ace-builds/src-min-noconflict/'
134128
}
135129
]
136130
},
@@ -172,12 +166,15 @@ module.exports = function (grunt) {
172166
//then we need to figure out how to not copy all the test stuff either!?
173167
{ dest: '<%= vsdir %>/assets', src: '**', expand: true, cwd: '<%= distdir %>/assets' },
174168
{ dest: '<%= vsdir %>/js', src: '**', expand: true, cwd: '<%= distdir %>/js' },
175-
{ dest: '<%= vsdir %>/lib', src: '**', expand: true, cwd: '<%= distdir %>/lib' },
176169
{ dest: '<%= vsdir %>/views', src: '**', expand: true, cwd: '<%= distdir %>/views' },
177170
{ dest: '<%= vsdir %>/preview', src: '**', expand: true, cwd: '<%= distdir %>/preview' }
178171
]
179172
},
180-
173+
vsLibs: {
174+
files: [
175+
{ dest: '<%= vsdir %>/lib', src: '**', expand: true, cwd: '<%= distdir %>/lib' }
176+
]
177+
},
181178
packages: {
182179
files: [{ dest: '<%= vsdir %>/../App_Plugins', src : '**', expand: true, cwd: 'src/packages/' }]
183180
}

0 commit comments

Comments
 (0)