code: function clean() {
      swig.log.info('', 'Cleaning the /public directory...');
  
      let paths = [
        './public/**/{target}/**/*',
        '!./public/**/{target}/**/config',
        '!./public/**/{target}/**/config/**/*',
        '!./public/**/{target}/**/src',
        '!./public/**/{target}/**/src/**/*',
        '!./public/css/{target}/main.less',
        '!./public/spec/{target}/**/*'
      ];
  
      paths = _.map(paths, p => p.replace('{target}', swig.pkg.name));
      const files = glob.sync(paths);
  
      swig.log.verbose(`[clean] ${files.length} files found at: `);
      swig.log.verbose(paths);
  
      _.each(files, (file) => {
        swig.log.verbose(`[clean] removing: ${file}`);
        rimraf.sync(path.normalize(file));
      });
    }
docs: remove everything in /public except for /public/src and /public/main.less