File size: 510 Bytes
0827183
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@ECHO OFF


cd C:\Users\v-asho\Desktop\Python\botbuilder-python\libraries\botbuilder-ai

python -m compileall .
IF %ERRORLEVEL% NEQ 0 (
  ECHO [Error] build failed!
  exit /b %errorlevel%
)

python -O -m compileall .
IF %ERRORLEVEL% NEQ 0 (
  ECHO [Error] build failed!
  exit /b %errorlevel%
)

pip install .
IF %ERRORLEVEL% NEQ 0 (
  ECHO [Error] DIALOGS Install failed!
  exit /b %errorlevel%
)

python -m unittest discover ./tests
IF %ERRORLEVEL% NEQ 0 (
  ECHO [Error] Test failed!
  exit /b %errorlevel%