aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.bat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: backport resume monitoring for timersJason A. Donenfeld2019-08-271-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: use goproxy when not remasteringJason A. Donenfeld2019-08-271-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: fix batch file status returningSimon Rozman2019-08-121-4/+4
| | | | | | | | | | | | | Apparently, exit /b works only halfway in Windows 8 and later. The %errorlevel% is correct after batch exits, but && and || do not honor it. The `cmd /c exit` doesn't actually quit the batch processing, therefore it must be at the very end of the batch file. Even `goto :eof` resets the return status for && and ||. Source: https://www.computerhope.com/forum/index.php/topic,65815.msg920454.html#msg920454 Signed-off-by: Simon Rozman <simon@rozman.si>
* build: use setlocal to keep build environment localSimon Rozman2019-08-121-12/+4
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: simplify path managementSimon Rozman2019-08-071-3/+3
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: support building from arbitrary folderSimon Rozman2019-08-071-7/+8
| | | | | | | | The :installdeps used .deps folder in the current working folder, while build failed expecting to find sources in the current working folder as well. Signed-off-by: Simon Rozman <simon@rozman.si>
* go: use 1.13beta1 for reproducable buildsJason A. Donenfeld2019-07-081-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump wintun and wg(8) versionsJason A. Donenfeld2019-07-041-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to go 1.12.6Jason A. Donenfeld2019-06-141-5/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: remove .exe suffix from command invocationsJason A. Donenfeld2019-06-071-5/+8
| | | | | | And set pathext to .exe to be explicit. Also, we're not going to do sfx. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: support building wg(8)Jason A. Donenfeld2019-06-071-4/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: set 6.1 PE flagsJason A. Donenfeld2019-05-261-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: opt in to walk cgoJason A. Donenfeld2019-05-251-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: allow unused functions, for cgoJason A. Donenfeld2019-05-141-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: actually set cflagsJason A. Donenfeld2019-05-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: allow go to create correct environment blockJason A. Donenfeld2019-05-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: mirror imagemagickJason A. Donenfeld2019-05-021-1/+2
| | | | | | Their server crashes lots. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use icons instead of unicode fontJason A. Donenfeld2019-05-021-1/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: backport security attributes helper from 1.13Jason A. Donenfeld2019-04-281-8/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: remove alignment whitespaceJason A. Donenfeld2019-04-251-2/+2
| | | | | | Simon likes this, but I usually don't. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: %errorlevel% doesn't seem to be set after curl and go callsSimon Rozman2019-04-251-2/+2
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: revert back to %PATH% for mingwSimon Rozman2019-04-251-2/+5
| | | | | | This mostly reverts commit 60f1e0f2e055bd7f9222bb77e8d5893333b76c43. Signed-off-by: Simon Rozman <simon@rozman.si>
* build: reduce excessive %PATH% manipulationSimon Rozman2019-04-251-8/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: extend to build x86 and amd64Simon Rozman2019-04-251-20/+34
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: improve signature and version situationJason A. Donenfeld2019-04-251-0/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update checksum for go zipSimon Rozman2019-04-181-1/+1
| | | | | | | 5004a12c6b30d72c7f53b8cf35c44717d739d32e forgot to update SHA-256 hash when bumping versions of the golang zip. Signed-off-by: Simon Rozman <simon@rozman.si>
* build: go 1.12.2 contains my fix for CVE-2019-9634Jason A. Donenfeld2019-04-091-11/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: allow make to skip hidden directory to reduce statsJason A. Donenfeld2019-03-101-8/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: fix manifest in patch.exeJason A. Donenfeld2019-03-091-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: verify hashesJason A. Donenfeld2019-03-091-12/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: mirror the less reliable onesJason A. Donenfeld2019-03-081-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: patch golang against dll injectionJason A. Donenfeld2019-03-081-18/+27
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: embed resource the old fashioned wayJason A. Donenfeld2019-03-071-2/+3
| | | | | | | | | | | If we ever get rid of the cgo requirement, we can return to rsrc or some variant of it. But given that win32 GUI stuff benefits from the larger cgo stacks, that seems unlikely. This gives us a bit more latitude to embed all sorts of interesting things in here as well. Clean up the makefile while we're at it and reduce the size of the exe. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: musl.cc now offers zipsJason A. Donenfeld2019-03-051-7/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: switch to musl.ccJason A. Donenfeld2019-03-041-16/+7
| | | | | | binutils issues finally resolved. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: support windowsJason A. Donenfeld2019-03-041-0/+52
TDM is old and ugly, but musl.cc is having issues right now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>