1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-22 02:12:30 +01:00

Merge pull request #33 from Stylix58/master

fix scripts
This commit is contained in:
Flam3rboy 2021-05-01 19:40:19 +02:00 committed by GitHub
commit 522be582fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,4 @@
@ECHO off
@ECHO on
.\update-git.bat
.\update-npm.bat
cd fosscord\scripts\update
.\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";