2020-08-03 23:42:17 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
REM set required build-tools
|
|
|
|
set PATH=%WINDIR%\System32
|
2021-09-21 11:59:57 +00:00
|
|
|
REM set PATH=%PATH%;%CD%\packages\go1.14.6.windows-amd64\go\bin
|
2020-08-03 23:42:17 +00:00
|
|
|
set PATH=%PATH%;%CD%\packages\git-2.28.0-64-bit\bin
|
|
|
|
set PATH=%PATH%;%CD%\packages\winlibs-x86_64-posix-seh-gcc-10.2.0-llvm-10.0.0-mingw-w64-7.0.0-r2\mingw64\bin
|
|
|
|
set GOPATH=%CD%\packages\build\go
|
|
|
|
|
|
|
|
REM check a PATH variable
|
|
|
|
echo %PATH%
|
|
|
|
|
|
|
|
REM check a GOPATH variable
|
2021-09-21 11:59:57 +00:00
|
|
|
REM echo %GOPATH%
|
2020-08-03 23:42:17 +00:00
|
|
|
|
|
|
|
REM set destination folder
|
|
|
|
set BINPATH=%CD%\bin
|
|
|
|
rmdir %BINPATH% /s /q
|
|
|
|
mkdir %BINPATH%
|
|
|
|
|
2021-09-21 11:59:57 +00:00
|
|
|
REM INSERT YOUR CODE
|
2020-08-03 23:42:17 +00:00
|
|
|
|
|
|
|
echo done
|