             // (c) 2014 FE Team of Baidu Music
             // Can be freely distributed under the BSD license.\n
         """
-        glob join(@dist_path, '*.js')
+        glob join(@dist_path, match)
         .then (paths) ->
             Promise.all _.map(paths, (path) ->
                 kit.readFile(path, 'utf8').then (str) ->

                            name: 'muplayer/player'
                        }
                    ]
                    opts_pc = _.merge(opts_webapp, options.webapp, (a, b) ->
                        _.isArray(a) and a.concat(b) or undefined
                    )

                    # Webapp
                    requirejs.optimize opts_webapp, (buildResponse) ->
                        log '>> r.js for WebApp'.cyan
                        log buildResponse
                        glob join(require_temp_path, 'js', 'lib', 'zepto', '**', '*.js')
                        .then (file_list) ->
                            file_list.push(join require_temp_path, 'js', 'player.js')
                            gulp.src(file_list)
                                .pipe(gulp_concat 'zepto-player.js')
                                .pipe(gulp.dest dist_path)
                            log '>> Compile client js done.'.cyan
                            resolve()


            paths:
                'muplayer': '.'

        opts_pc = _.extend(opts_pc, options.pc)

        new Promise (resolve) ->
            # PC
