Skip to content

julienw/gobble-forcecopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gobble-forcecopy

This is a simple Gobble plugin to copy all files in the output dir. Indeed Gobble is using symbolic links a lot to make builds faster but some tools that want to resolve require (mocha for example) do not like them.

Usage

const js_sources = gobble([
  gobble('src/js'),
]).transform('babel');

const test = gobble([
  js_sources,
  gobble('test').transform('babel')
]).transform('forcecopy')
  .observe('mocha')
  .transform('devnull');

We use the forcecopy plugin just before invoking the mocha plugin.

About

Force a copy of all files to the output directory

Resources

Stars

Watchers

Forks

Packages

No packages published