nanobox-io / nanobox-engine-php

Engine for running PHP apps on Nanobox
https://nanobox.io
MIT License
19 stars 15 forks source link

Anchor Cache Directory #50

Closed danhunsaker closed 7 years ago

danhunsaker commented 7 years ago

This should prevent the automatic addition of cache_dirs to the .nanoignore list from also preventing other files/folders named vendor from being deployed.

danhunsaker commented 7 years ago

Tested successfully (using full path to my branch here on GitHub) to confirm that /vendor in the boxfile defaults both properly treats /app/vendor as a cache dir (as expected), but also anchors the rsync exclusion correctly at the project root (also as expected). Thus, this PR does, in fact, fix the bug it intended to, without breaking existing functionality.