0.0.1 • Published 10 years ago

hydro-clean-dir v0.0.1

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

NPM
version Build Status Coverage Status

hydro-clean-dir

Synopsis

Empty given directories after each test.

Useful to clean local tmp locations.

Usage

Config:

hydro.set({
  plugins: ['hydro-clean-dir'],
  cleanDir: {
    keepDot: true // keep dot files, default: false
    paths: [join('test', 'tmp')] // array of paths to directories
  }
});

Installation

npm:

npm install hydro-clean-dir

Tests

$ npm test

License

The MIT License (see LICENSE)