Skip to:
Content

BuddyPress.org

Ticket #6756: 6756.diff

File 6756.diff, 1.3 KB (added by netweb, 11 years ago)
  • Gruntfile.js

    diff --git Gruntfile.js Gruntfile.js
    index 44aa52e..3178a68 100644
    module.exports = function( grunt ) {  
    2626
    2727        grunt.initConfig( {
    2828                pkg: grunt.file.readJSON( 'package.json' ),
     29                checkDependencies: {
     30                        options: {
     31                                packageManager: 'npm'
     32                        },
     33                        src: {}
     34                },
    2935                jshint: {
    3036                        options: grunt.file.readJSON( '.jshintrc' ),
    3137                        grunt: {
    … … module.exports = function( grunt ) {  
    252258        /**
    253259         * Register tasks.
    254260         */
    255         grunt.registerTask( 'src',     ['jsvalidate:src', 'jshint', 'scsslint', 'sass', 'cssjanus'] );
     261        grunt.registerTask( 'src',     ['checkDependencies', 'jsvalidate:src', 'jshint', 'scsslint', 'sass', 'cssjanus'] );
    256262        grunt.registerTask( 'commit',  ['src', 'checktextdomain', 'imagemin'] );
    257263        grunt.registerTask( 'build',   ['commit', 'clean:all', 'copy:files', 'uglify', 'jsvalidate:build', 'cssmin', 'makepot', 'exec:bpdefault'] );
    258264        grunt.registerTask( 'release', ['build', 'exec:bbpress'] );
  • package.json

    diff --git package.json package.json
    index 32f4baa..c03be38 100644
     
    1616    "grunt-contrib-watch": "~0.6.1",
    1717    "grunt-cssjanus": "~0.2.4",
    1818    "grunt-exec": "~0.4.6",
     19    "grunt-check-dependencies": "~0.11.2",
    1920    "grunt-jsvalidate": "~0.2.2",
    2021    "grunt-legacy-util": "^0.2.0",
    2122    "grunt-patch-wordpress": "~0.3.0",