diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-07 20:16:13 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-07 20:16:13 +0800 |
commit | 70cbfb199d42c2c0fd36a45bce8c1464d2540d6f (patch) | |
tree | 273f699d40ba9b3631dec1858fcc24985f74f6b9 /deploy/windows/build.bat | |
parent | c27c2be5844a42e928a2aee6854dbb3c6ec1986e (diff) | |
download | go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.tar go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.tar.gz go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.tar.bz2 go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.tar.lz go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.tar.xz go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.tar.zst go-tangerine-70cbfb199d42c2c0fd36a45bce8c1464d2540d6f.zip |
Added deploy scripts from go-build
Diffstat (limited to 'deploy/windows/build.bat')
-rw-r--r-- | deploy/windows/build.bat | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/deploy/windows/build.bat b/deploy/windows/build.bat new file mode 100644 index 000000000..b67a6024d --- /dev/null +++ b/deploy/windows/build.bat @@ -0,0 +1,39 @@ +@ECHO off +set origin=%GOPATH%\src\github.com\ethereum\go-ethereum\cmd\mist +set ethgo=%GOPATH%\src\github.com\ethereum\eth-go +set target=%GOPATH%\pkg\ethereum\ +set qtPath=C:\Qt\Qt5.2.1\5.2.1\mingw48_32 +set mingwPath=C:\MingW\ + +ECHO "Setting up Windows binaries" + +ECHO "Copying assets from %GOPATH%" +xcopy /s %origin%\assets %target%assets + +ECHO "Copying mnemonic words" +copy %ethgo%\ethcrypto\mnemonic.words.lst %target% + +ECHO "Compiling Mist" +cd %origin% +go install + +ECHO "Copying to source folder" +copy %GOPATH%\bin\mist.exe %target% + +ECHO "Running QT Deploy" +cd %target% +windeployqt --webkit2 --qmldir=assets\qml\ . + +echo "Copy missing DLLs & Others" + +copy %qtPath%\bin\QtWebProcess.exe %target% +copy %qtPath%\bin\Qt5MultimediaWidgets.dll %target% +copy %qtPath%\bin\Qt5PrintSupport.dll %target% +copy %qtPath%\bin\Qt5OpenGL.dll %target% +copy %qtPath%\bin\Qt5WebKitWidgets.dll %target% + +copy %qtPath%\bin\libgcc_s_dw2-1.dll %target% +copy "%qtPath%\bin\libstdc++-6.dll" %target% +copy %qtPath%\bin\libwinpthread-1.dll %target% + +copy %mingwPath%\bin\libgmp-10.dll %target% |