aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.bat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* l18n: add localization supportSimon Rozman2020-03-151-0/+4
| | | | | | | | | | | | | | | | | | | | | Revise the messages to make them localizable. Note: The log messages are not marked for localization. Probably, we want to keep log files in English for easier global troubleshooting. Having a user run `go generate` requires a valid and up-to-date Go environment. Rather than instructing users how to setup the environment correctly, the `go generate` was integrated into build.bat. This reuses the Go building environment downloaded and prepared by build.bat to provide controllable and consistent result. Use `make generate` on Linux. As the zgotext.go output varies for GOARCH=386 and amd64, one had to be chosen to provide stable output. The former is the first one to build in build.bat. Signed-off-by: Simon Rozman <simon@rozman.si>
* build: bump to go 1.14Jason A. Donenfeld2020-02-271-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump go versionJason A. Donenfeld2020-02-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: use updated tools locationJason A. Donenfeld2020-01-081-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: go 1.13 now passes correct os version to ldJason A. Donenfeld2019-10-281-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: tsaware is implicit in modern goJason A. Donenfeld2019-10-261-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: provide icons for 128x128 and 16x16 at 144dpiSimon Rozman2019-10-251-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: enable aslr and depJason A. Donenfeld2019-10-251-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update to go 1.13.3 and remove patcherJason A. Donenfeld2019-10-181-5/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump go versionJason A. Donenfeld2019-10-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump and loosen go versionJason A. Donenfeld2019-09-271-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump dependenciesJason A. Donenfeld2019-09-051-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: use newer wg(8) source for pipe changesJason A. Donenfeld2019-09-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* 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>