mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
32 lines
881 B
Batchfile
Executable File
32 lines
881 B
Batchfile
Executable File
@echo off
|
|
rem ------------------------------------------------------------------------------
|
|
rem build_recursively.bat
|
|
rem Konstantin Pavlov, pavlovconst@gmail.com
|
|
rem ------------------------------------------------------------------------------
|
|
|
|
rem Use this script to walk through all subdirs and execute build scripts
|
|
rem there. Place build script in every subdir that requires build
|
|
|
|
|
|
echo INFO: =====================================================================
|
|
echo INFO: build_recursively.bat
|
|
echo INFO: The script may sometimes take a long time to complete
|
|
for /R %%f in (*) do (
|
|
echo %%f | findstr /C:".git" >nul & if ERRORLEVEL 1 (
|
|
|
|
echo %%f | findstr /C:"b\.bat" >nul & if ERRORLEVEL 1 (
|
|
rem
|
|
) else (
|
|
pushd %%~df%%~pf
|
|
echo %%~df%%~pf
|
|
@echo | call %%f f
|
|
popd
|
|
)
|
|
|
|
)
|
|
)
|
|
|
|
pause
|
|
goto :eof
|
|
|