Build scripts updated

This commit is contained in:
Pax1601 2023-10-14 12:13:32 +02:00
parent 7344c761fe
commit 1a579c5755
3 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,11 @@
cd src
msbuild olympus.sln /t:Rebuild /p:Configuration=Release
cd ..
cd client
call npm install
rmdir /s /q "hgt"
call npm run emit-declarations
call npm run build
cd "plugins\controltips"
call npm run build
cd "..\.."

View File

@ -5,6 +5,7 @@
"version": "v0.4.5-alpha",
"private": true,
"scripts": {
"build": "browserify ./src/index.ts -p [ tsify --noImplicitAny] > index.js && copy.bat",
"emit-declarations": "tsc --project tsconfig.json --declaration --emitDeclarationOnly --outfile ./@types/olympus/index.d.ts",
"copy": "copy.bat",
"start": "npm run copy & concurrently --kill-others \"npm run watch\" \"nodemon --ignore ./public/databases/ ./bin/www\"",

View File

@ -1,6 +1,6 @@
local version = "v0.4.5-alpha"
local debug = true -- True enables debug printing using DCS messages
local debug = false -- True enables debug printing using DCS messages
-- .dll related variables
Olympus.OlympusDLL = nil