tasks/build-themes.js
function () {
            var dest = path.join(options.dest, themes[count]);

            // deletes theme is already exists.
            if (fs.exists(dest)) {
                fs.rmdir(dest);
            }

            mv(path.join(options.themes, themes[count], 'dist'), dest, {mkdirp: true}, function() {
                buildNextTheme();
            });
        }
function () {
            var dest = path.join(options.dest, themes[count]);

            // deletes theme is already exists.
            if (fs.exists(dest)) {
                fs.rmdir(dest);
            }

            mv(path.join(options.themes, themes[count], 'dist'), dest, {mkdirp: true}, function() {
                buildNextTheme();
            });
        }
function ( ) { var dest = path . join ( options . dest , themes [ count ] ) ; // deletes theme is already exists. if ( fs . exists ( dest ) ) { fs . rmdir ( dest ) ; } mv ( path . join ( options . themes , themes [ count ] , 'dist' ) , dest , { mkdirp : true } , function ( ) { buildNextTheme ( ) ; } ) ; }
Deletes the existing theme and copies the distributable ready theme
into position.
Deletes the existing theme and copies the distributable ready theme into position .