forked from mr-kelly/TableML
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmake mdb for unity.bat
26 lines (17 loc) · 954 Bytes
/
make mdb for unity.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
:: copy tableml.dll to ksframework
:: test in unity2019.3 + win10 + rider
cd %~dp0
set tableml=%~dp0TableML\TableML\bin\Release\TableML.dll
set tableml_compiler=%~dp0TableML\TableMLCompiler\bin\Release\TableMLCompiler.dll
set mono_path="C:\Program Files\Unity\Editor\Data\MonoBleedingEdge\bin\mono.exe"
set pdb2mdb_path="C:\Program Files\Unity\Editor\Data\MonoBleedingEdge\lib\mono\4.5\pdb2mdb.exe"
%mono_path% %pdb2mdb_path% %tableml%
%mono_path% %pdb2mdb_path% %tableml_compiler%
::copy to ksframework
set tableml_path=%~dp0TableML\TableML\bin\Release\*
set tableml_compiler_path=%~dp0TableML\TableMLCompiler\bin\Release\*
set dst_tableml=E:\Code\KSFramework\KSFramework\Assets\KSFramework\KEngine\KEngine.Lib\TableML\
set dst_tableml_compiler=E:\Code\KSFramework\KSFramework\Assets\KSFramework\KEngine\KEngine.Lib\TableMLCompiler\
xcopy %tableml_path% %dst_tableml% /S/Y/R/I
xcopy %tableml_compiler_path% %dst_tableml_compiler% /S/Y/R/I
pause