release.bat 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. REM ---------------------------------------------------------------------------
  2. REM Batch file for implementing release flow for cpp-ethereum for Windows.
  3. REM
  4. REM The documentation for cpp-ethereum is hosted at http://cpp-ethereum.org
  5. REM
  6. REM ---------------------------------------------------------------------------
  7. REM This file is part of cpp-ethereum.
  8. REM
  9. REM cpp-ethereum is free software: you can redistribute it and/or modify
  10. REM it under the terms of the GNU General Public License as published by
  11. REM the Free Software Foundation, either version 3 of the License, or
  12. REM (at your option) any later version.
  13. REM
  14. REM cpp-ethereum is distributed in the hope that it will be useful,
  15. REM but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. REM GNU General Public License for more details.
  18. REM
  19. REM You should have received a copy of the GNU General Public License
  20. REM along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>
  21. REM
  22. REM Copyright (c) 2016 cpp-ethereum contributors.
  23. REM ---------------------------------------------------------------------------
  24. set CONFIGURATION=%1
  25. set ETHEREUM_DEPS_PATH=%2
  26. set TESTS=%3
  27. 7z a cpp-ethereum-windows.zip ^
  28. .\build\bench\%CONFIGURATION%\bench.exe ^
  29. .\build\eth\%CONFIGURATION%\eth.exe ^
  30. .\build\ethkey\%CONFIGURATION%\ethkey.exe ^
  31. .\build\ethminer\%CONFIGURATION%\ethminer.exe ^
  32. .\build\ethvm\%CONFIGURATION%\ethvm.exe ^
  33. .\build\rlp\%CONFIGURATION%\rlp.exe ^
  34. .\build\test\%CONFIGURATION%\testeth.exe ^
  35. "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvc*.dll" ^
  36. %ETHEREUM_DEPS_PATH%\x64\bin\libcurl.dll ^
  37. %ETHEREUM_DEPS_PATH%\x64\bin\libmicrohttpd-dll.dll ^
  38. %ETHEREUM_DEPS_PATH%\win64\bin\OpenCL.dll