File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+ rem ------------------------------------------------------------------------------
3
+ rem build_recursively.bat
4
+ rem Konstantin Pavlov, pavlovconst@gmail.com
5
+ rem ------------------------------------------------------------------------------
6
+
7
+ rem Use this script to walk through all subdirs and execute build scripts
8
+ rem there. Place build script in every subdir that requires build
9
+
10
+
11
+ echo INFO: =====================================================================
12
+ echo INFO: build_recursively.bat
13
+ echo INFO: The script may sometimes take a long time to complete
14
+ for /R %%f in (*) do (
15
+ echo %%f | findstr /C:" .git" > nul & if ERRORLEVEL 1 (
16
+
17
+ echo %%f | findstr /C:" b\.bat" > nul & if ERRORLEVEL 1 (
18
+ rem
19
+ ) else (
20
+ pushd %%~df%%~pf
21
+ echo %%~df%%~pf
22
+ @ echo | call %%f f
23
+ popd
24
+ )
25
+
26
+ )
27
+ )
28
+
29
+ pause
30
+ goto :eof
31
+
You can’t perform that action at this time.
0 commit comments