fix(gbot): gbot.cmd now installs packages and compiles the server before running.
This commit is contained in:
parent
f67f04a4ba
commit
b7abf5f90a
1 changed files with 14 additions and 1 deletions
15
gbot.cmd
15
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
|
node dist/src/app.js
|
||||||
|
|
Loading…
Add table
Reference in a new issue