wu_xinjun
2022-03-25 6e6504475a0ef865ed1d47f78c89f56762965b3c
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
@echo off
 
@REM change to the filepath
cd %~dp0
@REM echo change to path: %cd%
if exist ../../aerial_deploy (
    echo the folder aerial_deploy is exited, removing it ...
    rmdir /S /Q "../../aerial_deploy"
    echo remove done!
) 
 
cd .. 
git lfs install
git lfs pull
 
cd %~dp0
mkdir "../../aerial_deploy"
 
echo setting the env ...
tar -xzf "./aerial.tar.gz" -C "../../aerial_deploy"
 
cd .. 
if not exist ".env" (
    mklink /j ".env" "../aerial_deploy/")
 
cd %~dp0
call "../src/protos/compile.bat"
 
echo ALL DONE!