-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.bat
44 lines (35 loc) · 1.54 KB
/
setup.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
set TO_CHECKOUT=%1
if "%APPVEYOR%"=="True" (
move %APPVEYOR_BUILD_FOLDER% .
set TO_CHECKOUT=%APPVEYOR_REPO_BRANCH%
if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (
set TO_CHECKOUT=
)
)
if not exist angr git clone https://github.com/angr/angr.git || goto :error
if not exist simuvex git clone https://github.com/angr/simuvex.git || goto :error
if not exist claripy git clone https://github.com/angr/claripy.git || goto :error
if not exist cle git clone https://github.com/angr/cle.git || goto :error
if not exist pyvex git clone https://github.com/angr/pyvex.git || goto :error
if not exist vex git clone https://github.com/angr/vex.git || goto :error
if not exist archinfo git clone https://github.com/angr/archinfo.git || goto :error
if not exist angr-doc git clone https://github.com/angr/angr-doc.git || goto :error
if not exist binaries git clone https://github.com/angr/binaries.git || goto :error
if not exist wheels git clone https://github.com/angr/wheels.git || goto :error
if not "%TO_CHECKOUT%" == "" (
call git_all.bat checkout %TO_CHECKOUT%
)
pip install wheels\capstone-4.0.0-py2-none-win32.whl
pip install unicorn
pip install -e .\archinfo || goto :error
pip install -e .\pyvex || goto :error
pip install -e .\cle || goto :error
pip install -e .\claripy || goto :error
pip install -e .\simuvex || goto :error
pip install -e .\angr || goto :error
pip install nose monkeyhex ipdb || goto :error
echo "Developement install success!"
exit /b 0
:error
echo "Developement install failed!"
exit /b 1