diff --git a/Awesome-binaries.md b/Awesome-binaries.md index a78fde1..4f920ce 100644 --- a/Awesome-binaries.md +++ b/Awesome-binaries.md @@ -46,6 +46,32 @@ The binaries listed here are for special purpose users, and regular users do not ## Build environments * [WinLibs standalone build of GCC and MinGW-w64 for Window](https://winlibs.com/) * [The Go Programming Language](https://go.dev/) +* Example of the build script: + ```bat + @echo off + + REM set required build-tools + set PATH=%WINDIR%\System32 + REM set PATH=%PATH%;%CD%\packages\go1.14.6.windows-amd64\go\bin + 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 + REM echo %GOPATH% + + REM set destination folder + set BINPATH=%CD%\bin + rmdir %BINPATH% /s /q + mkdir %BINPATH% + + REM INSERT YOUR CODE + + echo done + ``` ## Report abuse - abuse@catswords.net