mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-06 21:39:38 +00:00
Simplify AppVeyor build script
This commit is contained in:
parent
95298dcbe8
commit
e5b2b94e3a
@ -1,4 +1,5 @@
|
|||||||
SET PATH=C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\Git\bin;%PATH%
|
SET PATH=C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\Git\bin;%PATH%
|
||||||
|
SET ENV_R2_VER=0.10.1-git
|
||||||
echo %PATH%
|
echo %PATH%
|
||||||
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; gcc -v"
|
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; gcc -v"
|
||||||
sh.exe -c "uname | tr 'A-Z' 'a-z'"
|
sh.exe -c "uname | tr 'A-Z' 'a-z'"
|
||||||
@ -8,7 +9,7 @@ sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x
|
|||||||
if "%APPVEYOR%" == "True" (
|
if "%APPVEYOR%" == "True" (
|
||||||
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.iss
|
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.iss
|
||||||
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.ico
|
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.ico
|
||||||
dir %APPVEYOR_BUILD_FOLDER%\radare2-w32-0.10.1-git
|
dir %APPVEYOR_BUILD_FOLDER%\radare2-w32-%ENV_R2_VER%
|
||||||
7z.exe a -tzip %APPVEYOR_BUILD_FOLDER%\radare2-w32-0.10.1-git.zip %APPVEYOR_BUILD_FOLDER%\radare2-w32-0.10.1-git
|
7z.exe a -tzip %APPVEYOR_BUILD_FOLDER%\radare2-w32-%ENV_R2_VER%.zip %APPVEYOR_BUILD_FOLDER%\radare2-w32-%EVN_R2_VER%
|
||||||
iscc -DRadare2Location=%APPVEYOR_BUILD_FOLDER%\radare2-w32-0.10.1-git\* -DLicenseLocation=%APPVEYOR_BUILD_FOLDER%\COPYING.LESSER -DIcoLocation=%APPVEYOR_BUILD_FOLDER%\radare2.ico radare2.iss
|
iscc -DRadare2Location=%APPVEYOR_BUILD_FOLDER%\radare2-w32-%ENV_R2_VER%\* -DLicenseLocation=%APPVEYOR_BUILD_FOLDER%\COPYING.LESSER -DIcoLocation=%APPVEYOR_BUILD_FOLDER%\radare2.ico radare2.iss
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user