UNPKG

bricks-cli

Version:

Command line tool for developing ambitious ember.js apps

15 lines (11 loc) 352 B
'use strict'; var path = require('path'); var Promise = require('../../lib/ext/promise'); var ncp = Promise.denodeify(require('ncp')); var rootPath = process.cwd(); module.exports = function copyFixtureFiles(sourceDir) { return ncp(path.join(rootPath, 'tests', 'fixtures', sourceDir), '.', { clobber: true, stopOnErr: true }); };