-
Notifications
You must be signed in to change notification settings - Fork 1
/
libpublish.bat
67 lines (56 loc) · 1.28 KB
/
libpublish.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
::@echo off
SET ROOT_DIR=E:\work\local
SET PLANG_DIR=%ROOT_DIR%\private-contract-compiler
SET JIT_DIR=%ROOT_DIR%\private-contract-compiler
SET VM_DIR=%ROOT_DIR%\private-contract-vm2
rmdir /S /Q pub
mkdir pub\x64\Debug\
mkdir pub\x64\Release\
mkdir pub\Win32\Debug\
mkdir pub\Win32\Release\
for %%i in (
bzip2.dll
emp-tool.dll
gflags_nothreads.dll
glacier236.dll
gmock.dll
gmock_main.dll
gtest.dll
gtest_main.dll
ice36.dll
iceutil36.dll
libcurl.dll
mpc_vm_platonsdk.dll
mpc_vm_platonsdk_demo.dll
mpc_vm_service.dll
mpc-jit.dll
libprotobuf.dll
libprotobuf-lite.dll
) do (
copy /Y %VM_DIR%\build\bin\Release\%%i pub\x64\Release\
copy /Y %VM_DIR%\build32\bin\Release\%%i pub\Win32\Release\
)
for %%i in (
bzip2d.dll
emp-tool.dll
gflags_nothreads_debug.dll
glacier236d.dll
gmock_maind.dll
gmockd.dll
gtest_maind.dll
gtestd.dll
ice36d.dll
iceutil36d.dll
libcurl.dll
mpc_vm_platonsdk.dll
mpc_vm_platonsdk_demo.dll
mpc_vm_service.dll
mpc-jit.dll
libprotobufd.dll
libprotobuf-lited.dll
) do (
copy /Y %VM_DIR%\build\bin\Debug\%%i pub\x64\Debug\
copy /Y %VM_DIR%\build32\bin\Debug\%%i pub\Win32\Debug\
)
rem pause 5 seconds
ping 127.0.0.1 -n 5 > nul