aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-05-11 18:31:04 +0200
committerRechi <Rechi@users.noreply.github.com>2017-05-11 18:31:04 +0200
commit33ed0da55e85c5b132ca13bf401821fd64f88621 (patch)
treec66d89a3fd768b2df2ba58725bb4f031b46591d6 /tools
parentd4f64ba6e722f6c3635f6d1598b37d2326082ad6 (diff)
[buildsteps][windows] git clean optimizations
- remove directories with .git subdirectory - don't remove vcredist
Diffstat (limited to 'tools')
-rw-r--r--tools/buildsteps/windows/prepare-env.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildsteps/windows/prepare-env.bat b/tools/buildsteps/windows/prepare-env.bat
index f929ef4760..8a0a1efd0e 100644
--- a/tools/buildsteps/windows/prepare-env.bat
+++ b/tools/buildsteps/windows/prepare-env.bat
@@ -13,8 +13,8 @@ IF EXIST %WORKSPACE%\project\Win32BuildSetup\BUILD_WIN32 rmdir %WORKSPACE%\proje
rem we assume git in path as this is a requirement
rem git clean the untracked files and directories
rem but keep the downloaded dependencies
-ECHO running git clean -xfd -e "lib/libdvd" -e "lib/win32/ffmpeg" -e "project/BuildDependencies/downloads" -e "project/BuildDependencies/downloads2"
-git clean -xfd -e "lib/libdvd" -e "lib/win32/ffmpeg" -e "project/BuildDependencies/downloads" -e "project/BuildDependencies/downloads2"
+ECHO running git clean -xffd -e "lib/libdvd" -e "lib/win32/ffmpeg" -e "project/BuildDependencies/downloads" -e "project/BuildDependencies/downloads2" -e "project/Win32BuildSetup/dependencies/vcredist"
+git clean -xffd -e "lib/libdvd" -e "lib/win32/ffmpeg" -e "project/BuildDependencies/downloads" -e "project/BuildDependencies/downloads2" -e "project/Win32BuildSetup/dependencies/vcredist"
rem cleaning additional directories
ECHO delete build directories