File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,16 @@ module.exports = function (grunt) {
8787 ]
8888 } ]
8989 }
90+ } ,
91+ david : {
92+ gen : {
93+ options : { }
94+ } ,
95+ app : {
96+ options : {
97+ package : 'test/fixtures/package.json'
98+ }
99+ }
90100 }
91101 } ) ;
92102
@@ -271,6 +281,11 @@ module.exports = function (grunt) {
271281 ] )
272282 } ) ;
273283
284+ grunt . registerTask ( 'deps' , function ( target ) {
285+ if ( ! target || target === 'app' ) grunt . task . run ( [ 'updateFixtures' ] ) ;
286+ grunt . task . run ( [ 'david:' + ( target || '' ) ] ) ;
287+ } ) ;
288+
274289 grunt . registerTask ( 'demo' , [
275290 'clean:demo' ,
276291 'generateDemo'
Original file line number Diff line number Diff line change 3838 "grunt-contrib-clean" : " ^0.6.0" ,
3939 "grunt-contrib-jshint" : " ^0.11.2" ,
4040 "grunt-conventional-changelog" : " ~1.0.0" ,
41+ "grunt-david" : " ~0.5.0" ,
4142 "grunt-env" : " ^0.4.1" ,
4243 "grunt-mocha-test" : " ^0.11.0" ,
4344 "grunt-release" : " ~0.6.0" ,
You can’t perform that action at this time.
0 commit comments