mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-25 11:52:56 +01:00
fix scripts
This commit is contained in:
parent
af84336c6e
commit
b30affb6a9
@ -1,3 +1,3 @@
|
||||
@ECHO off
|
||||
@ECHO on
|
||||
.\update-git.bat
|
||||
.\update-npm.bat
|
||||
.\update-npm.bat
|
@ -1,5 +1,6 @@
|
||||
@ECHO off
|
||||
ECHO Update for Git...
|
||||
cd ..
|
||||
FOR /D %%a IN (%CD%\fosscord\*) do echo -------------- && echo %%~fa && cd %%~fa && git sync
|
||||
cd ..\..
|
||||
FOR /D %%a IN (%CD%\*) do echo -------------- && echo %%~fa && cd %%~fa && git pull
|
||||
cd ..\..
|
||||
@ECHO on
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo Update files...
|
||||
cd ..
|
||||
cd ../..
|
||||
for D in */; do
|
||||
echo --------------
|
||||
echo "$D";
|
||||
|
@ -1,10 +1,11 @@
|
||||
@ECHO off
|
||||
ECHO Update all dependencies...
|
||||
cd ..
|
||||
cd ..\..
|
||||
where /q pnpm
|
||||
IF ERRORLEVEL 1 (
|
||||
FOR /D %%a IN (%CD%\fosscord\*) do echo -------------- && echo %%~fa && cd %%~fa && npm i
|
||||
FOR /D %%a IN (%CD%\*) do echo -------------- && echo %%~fa && cd %%~fa && npm i
|
||||
) ELSE (
|
||||
FOR /D %%a IN (%CD%\fosscord\*) do echo -------------- && echo %%~fa && cd %%~fa && pnpm i
|
||||
FOR /D %%a IN (%CD%\*) do echo -------------- && echo %%~fa && cd %%~fa && pnpm i
|
||||
)
|
||||
cd ..\..
|
||||
@ECHO on
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo Update all dependancies...
|
||||
cd ..
|
||||
cd ../..
|
||||
for D in */; do
|
||||
echo --------------
|
||||
echo "$D";
|
||||
|
Loading…
Reference in New Issue
Block a user