fix(gbot): gbot.cmd now installs packages and compiles the server before running.

This commit is contained in:
Rodrigo Rodriguez 2019-02-17 03:46:48 -03:00
parent f67f04a4ba
commit b7abf5f90a

View file

@ -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