build.js
function copyRepo(dest) {
  return new Promise((resolve, reject) => {
    ncp('.tmp/repo', dest, (err) => {
      if (err) {
        reject(err)
        return
      }
      resolve()
    })
  })
}
function copyRepo(dest) {
  return new Promise((resolve, reject) => {
    ncp('.tmp/repo', dest, (err) => {
      if (err) {
        reject(err)
        return
      }
      resolve()
    })
  })
}
function copyRepo ( dest ) { return new Promise ( ( resolve , reject ) => { ncp ( '.tmp/repo' , dest , ( err ) => { if ( err ) { reject ( err ) return } resolve ( ) } ) } ) }
Copies repository folder to given destination
@param  {String} dest
@return {Promise}
Copies repository folder to given destination