Commit Graph

10 Commits

Author SHA1 Message Date
Sebastian Schuberth
a759a2fd05 Use goversioninfo instead of windres to embed Windows resources
windres is not always present whereas goversioninfo is easy to install.

This also fixes the generation of resource.syso to be part of the
standard build script instead of only the AppVeyor CI build.

Finally, adapt update-version.sh to patch versioninfo.json.
2016-12-15 12:27:47 +01:00
Sebastian Schuberth
acff69f78d AppVeyor: Fix printing the GOPATH environment variable 2016-12-15 12:24:04 +01:00
Sebastian Schuberth
c690255bb6 Embed the Git LFS icon and version information into the Windows executable
This fixes the display of the application icon in Windows' uninstall
dialog and allows Inno Setup to use the version information from the
executable.

Note that AppVeyor has windres.exe in all these locations:

C:\cygwin\bin\windres.exe
C:\cygwin64\bin\windres.exe
C:\MinGW\bin\windres.exe
C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin\windres.exe
C:\msys64\mingw32\bin\windres.exe
C:\msys64\mingw64\bin\windres.exe
C:\msys64\usr\bin\windres.exe
C:\Qt\Tools\mingw482_32\bin\windres.exe
C:\Qt\Tools\mingw491_32\bin\windres.exe
C:\Qt\Tools\mingw492_32\bin\windres.exe
C:\Qt\Tools\mingw530_32\bin\windres.exe
C:\Ruby193\DevKit\mingw\bin\windres.exe
C:\Ruby23\DevKit\mingw\bin\windres.exe
C:\Ruby23-x64\DevKit\mingw\bin\windres.exe

But only the Ruby versions work without giving an "preprocessing failed"
error.
2016-12-08 16:23:17 +01:00
Taylor Blau
3e1d92abbe appveyor: build using Go v1.7.4 2016-12-02 09:26:45 -07:00
risk danger olson
a7e3d0daf9 appveyor: update clone path 2016-11-15 10:32:33 -07:00
Sebastian Schuberth
66e2859e25 AppVeyor: Do not build branches with open pull requests 2016-10-18 09:24:35 +02:00
Sebastian Schuberth
9e8acb4516 Enable running tests on AppVeyor CI 2016-10-10 20:02:13 +02:00
Sebastian Schuberth
b43930c312 Make the target OS explicitly default to the host OS
This triggers the check for building on Windows to make binaries get the
".exe" extension.
2016-09-28 21:30:05 +02:00
Sebastian Schuberth
63dac507b6 Make the AppVeyor CI build work again
AppVeyor now has Go and Git for Windows 2.x installed by default. Also, we
can tell MSYS to actually create symbolic links. Finally, let the CI
create the installer, too.
2016-09-06 19:05:07 +02:00
Andy Neff
f1c0ce4bda Appveyor Proof of concept
First working version producing an unsigned git-lfs.exe
2015-10-23 18:47:37 -04:00