mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Split client into frontend website and server
This commit is contained in:
@@ -5,8 +5,9 @@ cd backend
|
||||
msbuild olympus.sln /t:Build /p:Configuration=Release
|
||||
cd ..
|
||||
|
||||
cd client
|
||||
rmdir /s /q hgt
|
||||
cd frontend
|
||||
|
||||
cd website
|
||||
call npm install
|
||||
call npm run emit-declarations
|
||||
call npm run build-release
|
||||
@@ -23,6 +24,14 @@ cd ..\..
|
||||
|
||||
cd ..
|
||||
|
||||
cd server
|
||||
rmdir /s /q hgt
|
||||
call npm install
|
||||
call npm run build-release
|
||||
cd ..
|
||||
|
||||
cd ..
|
||||
|
||||
cd manager
|
||||
call npm run build-release
|
||||
cd ..
|
||||
|
||||
@@ -34,8 +34,8 @@ if "%errorlevel%" == "9009" (
|
||||
echo node.js is already installed, continuing installation!
|
||||
)
|
||||
|
||||
echo Installing node modules for client application...
|
||||
cd .\client
|
||||
echo Installing node modules for frontend application...
|
||||
cd .\frontend
|
||||
call npm install --omit=dev
|
||||
cd..
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ REM copy the backend dll
|
||||
echo F|xcopy /Y /I .\build\backend\bin\*.dll .\package\mod\bin
|
||||
|
||||
REM copy the client
|
||||
echo D|xcopy /Y /S /E .\build\client .\package\client
|
||||
echo D|xcopy /Y /S /E .\build\frontend .\package\frontend
|
||||
|
||||
REM copy the manager
|
||||
echo D|xcopy /Y /S /E .\build\manager .\package\manager
|
||||
|
||||
Reference in New Issue
Block a user