The directory copying function wrapped for swint-task
Warning: This is not the final draft yet, so do not use this until its official version is launched
$ npm install --save swint-copy-dir
inDir
:String
, default:path.dirname(require.main.filename)
outDir
:String
, default:path.join(path.dirname(require.main.filename), '../out')
copyDir({
inDir: path.join(__dirname, 'fonts'),
outDir: path.join(__dirname, 'out/fonts')
}, function() {
// Build complete
});