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

CB-11771 Deep symlink directories to target project instead of linking the directory itself #326

Closed
wants to merge 1 commit into from

Conversation

mbektchiev
Copy link
Contributor

When installing a plugin with custom library using the --link option the whole directory is symlinked and temporary
files leak into the original plugin directory on build. This leads to broken builds if the same plugin is linked in
2 projects targeting different Cordova versions.

fixes CB-11771 Installing plugin with symlink option pollutes original directory with intermediate files

…g the directory itself

When installing a plugin with custom library using the --link option the whole directory is symlinked and temporary
files leak into the original plugin directory on build. This leads to broken builds if the same plugin is linked in
2 projects targeting different Cordova versions.
@codecov-io
Copy link

Current coverage is 33.67% (diff: 20.00%)

Merging #326 into master will decrease coverage by 0.10%

@@             master       #326   diff @@
==========================================
  Files            11         11          
  Lines           965        968     +3   
  Methods         197        199     +2   
  Messages          0          0          
  Branches        157        158     +1   
==========================================
  Hits            326        326          
- Misses          639        642     +3   
  Partials          0          0          

Powered by Codecov. Last update 4a0a7bc...817fc3a

@mbektchiev
Copy link
Contributor Author

Can someone please review this PR? apache/cordova-ios#244 is already merged and in order to fix the issue we need this one and apache/cordova-lib#485 as well.

@stevengill
Copy link
Contributor

I confirmed the leaking and your patch solves the problem. Thanks!

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.

3 participants