u
This commit is contained in:
parent
c0b4983585
commit
c1319324e8
@ -21,6 +21,7 @@ if not exist %BASEDIR% (
|
||||
|
||||
pushd %BASEDIR%
|
||||
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 )
|
||||
|
||||
@ -30,14 +31,17 @@ for /d %%o in (*) do (
|
||||
@REM 每次 git pull 都会造成 .git 目录下某些文件变化,导致云端不断自动同步。因此过滤掉 *@cloud 的目录不做更新。
|
||||
echo %%o | findstr "@cloud" >NUL && (
|
||||
echo !!! omitting [%BASEDIR%\%%o]
|
||||
echo;
|
||||
) || (
|
||||
echo entering [%BASEDIR%\%%o]
|
||||
echo;
|
||||
pushd %%o
|
||||
for /d %%g in (*) do (
|
||||
if exist %%g\.git (
|
||||
pushd %%g
|
||||
echo git pulling [%BASEDIR%\%%o\%%g]
|
||||
git pull
|
||||
echo;
|
||||
popd
|
||||
)
|
||||
)
|
||||
|
@ -30,11 +30,14 @@ fi
|
||||
|
||||
pushd $FONPATH
|
||||
echo "*** Current path = [`pwd`] ***"
|
||||
echo ""
|
||||
|
||||
for org in `ls | grep -v @cloud`
|
||||
do
|
||||
if [ -d $org ]
|
||||
then
|
||||
echo "entering [$FONPATH/$org]"
|
||||
echo ""
|
||||
cd $org;
|
||||
for repo in `ls .`
|
||||
do
|
||||
@ -43,10 +46,11 @@ do
|
||||
echo "git pulling [$FONPATH/$org/$repo]"
|
||||
cd $repo
|
||||
git pull
|
||||
echo ""
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
cd ..;
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
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