Closed ghost closed 4 years ago
The important point missing here is that it also cleans everything in the download folder if environment variable VCPKG_DOWNLOADS
ist set. This is a issue because this is most likely pointing to a common folder between different vcpkg instances.
--clean-after-build
should probably be split into
--clean-buildfiles-after-build,
and
--clean-downloads-after-build
(should probably be a separate command instead?)
The important point missing here is that it also cleans everything in the download folder if environment variable
VCPKG_DOWNLOADS
ist set. This is a issue because this is most likely pointing to a common folder between different vcpkg instances.--clean-after-build
should probably be split into--clean-buildfiles-after-build,
and--clean-downloads-after-build
(should probably be a separate command instead?)
set VCPKG_DOWNLOADS=D:\Git\vcpkg.downloads
as a common location for all vcpkg instances on computer.--clean-packages-after-build
so one can pick and choose which to delete and which to keep.I close, I no long use product.
Describe the bug [vcpkg] install --clean-after-build bug files deletes all files in vcpkg-root/downloads folder.
Reference: at end of issue discussion between @Neumann-A and @timautry about
--clean-after-build
optionEnvironment
To Reproduce Steps to reproduce the behavior:
/vcpkg install <port> --clean-after-build
/vcpkg install <port> <port> <port> --clean-after-build
Expected behavior --clean-after-build should only delete current downloaded ports in /downloads folder
Failure logs
Additional context
--clean-after-build
option only delete the ports on the command line or all ports and tools sources from the /downloads folder?