u
This commit is contained in:
parent
c0b4983585
commit
c1319324e8
@ -21,6 +21,7 @@ if not exist %BASEDIR% (
|
|||||||
|
|
||||||
pushd %BASEDIR%
|
pushd %BASEDIR%
|
||||||
echo *** Current path = [%CD%] ***
|
echo *** Current path = [%CD%] ***
|
||||||
|
echo;
|
||||||
|
|
||||||
@REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do ( if exist %%d/.git pushd %%d & echo --- git pulling: %%d ... & git pull & popd ) ) & popd )
|
@REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do ( if exist %%d/.git pushd %%d & echo --- git pulling: %%d ... & git pull & popd ) ) & popd )
|
||||||
|
|
||||||
@ -29,15 +30,18 @@ for /d %%o in (*) do (
|
|||||||
if not %%o == .vscode (
|
if not %%o == .vscode (
|
||||||
@REM 每次 git pull 都会造成 .git 目录下某些文件变化,导致云端不断自动同步。因此过滤掉 *@cloud 的目录不做更新。
|
@REM 每次 git pull 都会造成 .git 目录下某些文件变化,导致云端不断自动同步。因此过滤掉 *@cloud 的目录不做更新。
|
||||||
echo %%o | findstr "@cloud" >NUL && (
|
echo %%o | findstr "@cloud" >NUL && (
|
||||||
echo !!! omitting [%BASEDIR%\%%o]
|
echo !!! omitting [%BASEDIR%\%%o]
|
||||||
|
echo;
|
||||||
) || (
|
) || (
|
||||||
echo entering [%BASEDIR%\%%o]
|
echo entering [%BASEDIR%\%%o]
|
||||||
|
echo;
|
||||||
pushd %%o
|
pushd %%o
|
||||||
for /d %%g in (*) do (
|
for /d %%g in (*) do (
|
||||||
if exist %%g\.git (
|
if exist %%g\.git (
|
||||||
pushd %%g
|
pushd %%g
|
||||||
echo git pulling [%BASEDIR%\%%o\%%g]
|
echo git pulling [%BASEDIR%\%%o\%%g]
|
||||||
git pull
|
git pull
|
||||||
|
echo;
|
||||||
popd
|
popd
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -30,23 +30,27 @@ fi
|
|||||||
|
|
||||||
pushd $FONPATH
|
pushd $FONPATH
|
||||||
echo "*** Current path = [`pwd`] ***"
|
echo "*** Current path = [`pwd`] ***"
|
||||||
|
echo ""
|
||||||
|
|
||||||
for org in `ls | grep -v @cloud`
|
for org in `ls | grep -v @cloud`
|
||||||
do
|
do
|
||||||
if [ -d $org ]
|
if [ -d $org ]
|
||||||
then
|
then
|
||||||
echo " entering [$FONPATH/$org]"
|
echo "entering [$FONPATH/$org]"
|
||||||
|
echo ""
|
||||||
cd $org;
|
cd $org;
|
||||||
for repo in `ls .`
|
for repo in `ls .`
|
||||||
do
|
do
|
||||||
if [ -d $repo/.git ]
|
if [ -d $repo/.git ]
|
||||||
then
|
then
|
||||||
echo " git pulling [$FONPATH/$org/$repo]"
|
echo "git pulling [$FONPATH/$org/$repo]"
|
||||||
cd $repo
|
cd $repo
|
||||||
git pull
|
git pull
|
||||||
|
echo ""
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
cd ..;
|
cd ..
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
1
install-nodejs-centos.sh
Normal file
1
install-nodejs-centos.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
curl --silent --location https://rpm.nodesource.com/setup_16.x | bash
|
Loading…
Reference in New Issue
Block a user