-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.cmd
33 lines (28 loc) · 965 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
setlocal
choice /c yn /m "Do you want to build all projects? (y/n) "
if errorlevel 2 (
echo Continuing without building other projects...
echo ------------------------------------------------
) else (
echo ------------------------------------------------
echo Building MySQL csharp project...
echo ------------------------------------------------
cd library\csharp
.\build.cmd | more
echo ------------------------------------------------
cd ..\library-changer
echo Building library changer project...
echo ------------------------------------------------
.\build.cmd | more
cd ..\
echo ------------------------------------------------
)
echo Installing dependencies
pnpm install
echo ------------------------------------------------
echo Building main nodejs project...
echo ------------------------------------------------
pnpm run build | more
pause
endlocal