Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled the --no-copy option #29

Merged
merged 3 commits into from
Aug 15, 2016
Merged

Enabled the --no-copy option #29

merged 3 commits into from
Aug 15, 2016

Conversation

Poetro
Copy link
Member

@Poetro Poetro commented Aug 12, 2016

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change follows the style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the contribution guidelines
  • I have added tests to cover my changes
  • All new and existing tests passed

@mstade
Copy link
Member

mstade commented Aug 12, 2016

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

@mstade mstade merged commit f4e7f40 into master Aug 15, 2016
@mstade mstade deleted the no-copy-19 branch August 15, 2016 14:54
mstade added a commit that referenced this pull request Aug 15, 2016
Bug fixed in PR #29, these tests verify it.
@mstade mstade mentioned this pull request Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants