summaryrefslogtreecommitdiff
path: root/build-dir.cmd
diff options
context:
space:
mode:
authorLuke <[email protected]>2017-11-28 00:22:11 -0800
committerGitHub <[email protected]>2017-11-28 00:22:11 -0800
commit79bbbca2f6e37d94fbbbd60d12c5c1e7dde650da (patch)
tree793ff943b8b641f95d05401156badd42da4a0f12 /build-dir.cmd
parented1df9a8b80b154b71b79635e40af75f4f19001c (diff)
parent2817004092cee784d4aaf36c045fdb5b0bc09f7e (diff)
Merge pull request #1 from Microsoft/master
Updating Local
Diffstat (limited to 'build-dir.cmd')
-rw-r--r--build-dir.cmd14
1 files changed, 10 insertions, 4 deletions
diff --git a/build-dir.cmd b/build-dir.cmd
index 22026b2c..56874f1c 100644
--- a/build-dir.cmd
+++ b/build-dir.cmd
@@ -11,15 +11,21 @@ rem $1 - sub-folder name
rem $2 - full path to the sub-folder
rem
:check_folder
-pushd %1
+set name=%1
+set fullpath=%2
+set name=%name:"=%
+set fullpath=%fullpath:"=%
+pushd "%name%"
if exist *.sln (
- echo %2
- echo === %2 >> %logfile%
+ echo %fullpath%
+ echo === %fullpath% >> %logfile%
for /f %%i in ('dir /b *.sln') do (
msbuild /nologo /v:q /m /t:rebuild %%i >> %logfile%
)
) else (
- for /f %%i in ('dir /b /ad') do call :check_folder %%i %2/%%i
+ for /d %%i in (*) do (
+ call :check_folder "%%i" "%fullpath%/%%i"
+ )
)
popd