From b7abf5f90ab4c87e687df12f4e920f5655657cd1 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sun, 17 Feb 2019 03:46:48 -0300 Subject: [PATCH] fix(gbot): gbot.cmd now installs packages and compiles the server before running. --- gbot.cmd | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gbot.cmd b/gbot.cmd index 59fb891b..243b11c5 100644 --- a/gbot.cmd +++ b/gbot.cmd @@ -1,2 +1,15 @@ -@echo off +@ECHO off + +ECHO General Bots Command Line + +IF EXIST node_modules goto COMPILE +ECHO Installing Packages for the first time use... +CALL npm install --silent + +:COMPILE +IF EXIST dist goto ALLSET +ECHO Compiling... +CALL tsc + +:ALLSET node dist/src/app.js