Commit b1839c91 authored by Oleg Korshul's avatar Oleg Korshul

3dParty make

parent 5c6de53d
SET SCRIPTPATH=%~dp0
CD /D %~dp0
FOR /f "tokens=*" %%i in ('DIR /a:d /b *') DO (
ECHO %%i
if exist %%i/fetch.bat (
call %%i/fetch.bat
)
if exist %%i/build.bat (
call %%i/build.bat
)
)
\ No newline at end of file
#!/bin/bash
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
cd "$SCRIPTPATH"
for d in */ ; do
echo "$d"
cd "$SCRIPTPATH/$d"
if [ -f "fetch.sh" ]
then
bash "fetch.sh"
fi
if [ -f "build.sh" ]
then
bash "build.sh"
fi
cd "$SCRIPTPATH"
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment