nope/00-compile.bat

44 lines
966 B
Batchfile
Raw Normal View History

2020-08-25 09:03:16 +00:00
@echo off
set DIR=%~dp0
cd "%DIR%"
SETLOCAL
echo Compiling Backend
2022-01-19 17:38:43 +00:00
REM Add the Node Options for SSL these are requrired since Node v.17
set NODE_OPTIONS=--openssl-legacy-provider
2022-01-17 17:53:06 +00:00
(npm run-script prettier-format) && (
(npm run-script compile-nodejs) && (
2022-01-18 07:01:50 +00:00
(npm run-script compile-browser) && (
(npm run-script build) && (
echo Done
) || (
echo Error
)
) || (
(npm run-script build) && (
echo Done
) || (
echo Error
)
)
2022-01-17 17:53:06 +00:00
) || (
(npm run-script compile-browser) && (
2022-01-18 07:01:50 +00:00
(npm run-script build) && (
echo Done
) || (
echo Error
)
2022-01-17 17:53:06 +00:00
) || (
(npm run-script build) && (
echo Done
) || (
echo Error
)
)
)
) || (
echo Failed to pettier code
)