zambezi / ez-build

Zambezi build tool
MIT License
2 stars 1 forks source link

Enabled the `--no-copy` option #29

Closed Poetro closed 8 years ago

Poetro commented 8 years ago

Description

The --no-copy was not working #19 . This change fixes the issue by only adding copy-files to the pipeline if it is enabled.

Motivation and Context

Solves #19 .

How Was This Tested?

mkdir -p ./temp/src && cd temp && \
touch src/index.html && touch src/index.js && \
npm init -y > /dev/null && \ 
ez-build --production --no-copy && \
ls lib/index.*
js – src/index.js -> lib\index.js,lib\index.js.map
lib/index.js  lib/index.js.map

Types of changes

mstade commented 8 years ago

Awesome stuff dude – thanks! I'll release asap!