forked from V2C-Development-Team/v2c-poc-submission
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
34 lines (28 loc) · 754 Bytes
/
build.bat
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
29
30
31
32
33
34
@echo off
rem pull the repos
git submodule update --init --recursive
rem build this project
call .\gradlew clean shadowJar --refresh-dependencies
rem build the java projects
for %%m in (v2c-desktop-controller-linux v2c-dispatcher v2c-dashboard-backend) do (
echo Building %%m
cd %%m
call .\gradlew clean shadowJar --refresh-dependencies
cd ..
)
rem build the python modules
for %%p in (pyaudio playsound pocketsphinx SpeechRecognition pydub websocket-client websocket keyboard pycaw pystray) do (
echo Checking for %%p
pip list | find "%%p">nul
if errorlevel 1 pip install "%%p"
)
rem install node project
for %%n in (v2c-dashboard) do (
echo Installing %%n
cd %%n
npm install
cd ..
)
npm install -g serve
echo Done.
@echo on