Add --force-remove switch and reimplement PackageManager.remove.
remove() now first checks for untracked files and leaves the package untouched if it finds some and no force_remove is supplied. This means that after the user gets an error concerning untracked files, it's possible to rerun dub with --force-remove to remove the package cleanly.
1 parent 37f4a02 commit 3101951b1752fc4e3b1784820995cd274d07fe1b
@Sönke Ludwig Sönke Ludwig authored on 13 Feb 2014
Showing 4 changed files
View
source/dub/commandline.d
View
source/dub/dub.d
View
source/dub/packagemanager.d
View
source/dub/project.d