Skip to content

hydrojs/clean-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Empty given directories after each test

Resources

License

Stars

Watchers

Forks

Packages

No packages published