From 76698ed3e38a801ed683c6a8a0f5c94469aed18b Mon Sep 17 00:00:00 2001 From: Martin Karkowski Date: Thu, 21 Jan 2021 16:25:43 +0100 Subject: [PATCH] fixing installer and compiler --- 00-install.bat | 1 + 01-compile.bat | 26 +++----------------------- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/00-install.bat b/00-install.bat index 574f10d..96c8f1c 100644 --- a/00-install.bat +++ b/00-install.bat @@ -2,4 +2,5 @@ set DIR=%~dp0 cd "%DIR%" npm install @REM Link the Package. This results in making the binaries available. +call ./01-compile.bat npm link \ No newline at end of file diff --git a/01-compile.bat b/01-compile.bat index 35fae17..e5b4d85 100644 --- a/01-compile.bat +++ b/01-compile.bat @@ -4,27 +4,7 @@ cd "%DIR%" SETLOCAL echo Compiling Backend (npx tsc -p ./tsconfigBackend.json --pretty) && ( - echo Generating API-Interface - @echo on - node ./dist/lib/cli/generateFiles - echo Generating API-Interface - @echo off - echo Compiling FrontendFiles - (npx tsc -p ./tsconfigBackend.json --pretty) && ( - echo Done - ) || ( - echo Done - ) + echo Done ) || ( - echo Generating API-Interface - @echo on - node ./dist/lib/cli/generateFiles - echo Generating API-Interface - @echo off - echo Compiling FrontendFiles - (npx tsc -p ./tsconfigBackend.json --pretty) && ( - echo Done - ) || ( - echo Done - ) -) + echo Done +) \ No newline at end of file