module.exports = {
    all: {
        files: [
            {
                expand: true,
                src: [
                    'index.html',
                    '404.html',
                    'sitemap.xml',
                    'robots.txt'
                ],
                dest: global.dist
            },
            { expand: true, cwd: 'src/download/',                                   src: ['**'],    dest: global.dist + '/download/' },
            { expand: true, cwd: 'src/images/',                                     src: ['**'],    dest: global.dist + '/images/', },
            { expand: true, cwd: 'src/javascript/autogenerated/',                   src: ['**'],    dest: global.dist + '/js/texts/' },
            { expand: true, cwd: 'src/javascript/lib/landing_pages/',               src: ['**'],    dest: global.dist + '/js/landing_pages/' },
            { expand: true, cwd: 'src/javascript/lib/pushwooshSDK/',                src: ['**'],    dest: global.dist }, /* serves pushwoosh sdks from root */

            // binary-style
            { expand: true, cwd: 'node_modules/binary-style/fonts',           src: ['**/*.woff'], dest: global.dist + '/fonts/', },
            { expand: true, cwd: 'node_modules/binary-style/images/favicons', src: ['**'],        dest: global.dist + '/images/favicons/', },
            { expand: true, cwd: 'node_modules/binary-style/images/logo',     src: ['**'],        dest: global.dist + '/images/logo/', },
        ]
    }
};

module.exports = {
    all: {
        files: [
            {
                expand: true,
                src: [
                    'index.html',
                    '404.html',
                    'sitemap.xml',
                    'robots.txt'
                ],
                dest: global.dist
            },
            { expand: true, cwd: 'src/download/',                                   src: ['**'],    dest: global.dist + '/download/' },
            { expand: true, cwd: 'src/images/',                                     src: ['**'],    dest: global.dist + '/images/', },
            { expand: true, cwd: 'src/javascript/autogenerated/',                   src: ['**'],    dest: global.dist + '/js/texts/' },
            { expand: true, cwd: 'src/javascript/lib/pushwooshSDK/',                src: ['**'],    dest: global.dist }, /* serves pushwoosh sdks from root */

            // binary-style
            { expand: true, cwd: 'node_modules/binary-style/fonts',           src: ['**/*.woff'], dest: global.dist + '/fonts/', },
            { expand: true, cwd: 'node_modules/binary-style/images/favicons', src: ['**'],        dest: global.dist + '/images/favicons/', },
            { expand: true, cwd: 'node_modules/binary-style/images/logo',     src: ['**'],        dest: global.dist + '/images/logo/', },
        ]
    }
};

Remove the old task