Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 680 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 680 Bytes

swint-copy-dir

Greenkeeper badge 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

Installation

$ npm install --save swint-copy-dir

Options

  • inDir : String, default: path.dirname(require.main.filename)
  • outDir : String, default: path.join(path.dirname(require.main.filename), '../out')

Usage

copyDir({
	inDir: path.join(__dirname, 'fonts'),
	outDir: path.join(__dirname, 'out/fonts')
}, function() {
	// Build complete
});