1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-25 11:52:56 +01:00

fix scripts

This commit is contained in:
Stylix58 2021-05-01 19:13:28 +02:00
parent af84336c6e
commit b30affb6a9
5 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,3 @@
@ECHO off
@ECHO on
.\update-git.bat
.\update-npm.bat
.\update-npm.bat

View File

@ -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

View File

@ -1,5 +1,5 @@
echo Update files...
cd ..
cd ../..
for D in */; do
echo --------------
echo "$D";

View File

@ -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

View File

@ -1,5 +1,5 @@
echo Update all dependancies...
cd ..
cd ../..
for D in */; do
echo --------------
echo "$D";