From 96a5f1b595d1575a855b787ea9b8e176f0153ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Czapli=C5=84ski?= Date: Thu, 10 Dec 2020 22:30:47 +0100 Subject: [PATCH] build: more platforms for release --- buildcross.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/buildcross.bat b/buildcross.bat index ed41f8f..edb504b 100644 --- a/buildcross.bat +++ b/buildcross.bat @@ -2,7 +2,10 @@ rem NOTE: see also: rem https://github.com/golang/go/wiki/WindowsCrossCompiling rem https://github.com/golang/go/wiki/InstallFromSource#install-c-tools -for %%p in (windows_386 windows_amd64) do call :build rsrc %%p +call :build rsrc windows_386 +call :build rsrc windows_amd64 +call :build rsrc linux_amd64 +call :build rsrc darwin_amd64 set GOOS= set GOARCH= goto :eof @@ -17,7 +20,7 @@ call set GOOS=%%PLATFORM:_%GOARCH%=%% set FNAME=%APP%_%PLATFORM% if "%GOOS%"=="windows" set FNAME=%FNAME%.exe :: Do the build -echo %FNAME% +echo == %FNAME% == go build -i -v -o %FNAME% . goto :eof