By default, ez-build should copy over any non-source file, i.e. anything outside of the --include and --exclude sets. Currently, the only way to make ez-build copy files over is by explicitly adding them as included files via --include.
Steps to reproduce:
Make a new project with the following structure:
src/
source.js
not-source.txt
It doesn't matter what source.js contains, so long as it's valid and will compile. not-source.txt can be empty or have content, it doesn't matter.
Run ez-build
Expected results:
The lib directory should look like so:
lib/
source.js
source.js.map
non-source.txt
Actual results
Only the source files are included:
lib/
source.js
source.js.map
Workaround
Add --include patterns for any files that should be included in the output directory. For example, to include all css files in the build:
$ ez-build --include "**/*.css"
The quotes are probably necessary so the shell doesn't expand the glob.
By default, ez-build should copy over any non-source file, i.e. anything outside of the
--include
and--exclude
sets. Currently, the only way to make ez-build copy files over is by explicitly adding them as included files via--include
.Steps to reproduce:
Make a new project with the following structure:
It doesn't matter what
source.js
contains, so long as it's valid and will compile.not-source.txt
can be empty or have content, it doesn't matter.ez-build
Expected results:
The
lib
directory should look like so:Actual results
Only the source files are included:
Workaround
Add
--include
patterns for any files that should be included in the output directory. For example, to include all css files in the build:The quotes are probably necessary so the shell doesn't expand the glob.