blob: a0393187976079570e890611c7973046d9d1935b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
== Updater
=== Creating manifest
[code, sh]
----
find windows/ -type f | xargs sha512sum | sed 's/windows\///' > windows-sha512.txt
find windows/ -type d -exec chmod 755 {} +
----
=== Building
You can build for the current system using:
[code, sh]
----
go build
# remove debug information
strip updater
----
You can also cross-compile for other systems by setting GOOS and GOARCH. For a
list of supported platforms, use `go tool dist list`.
[code, sh]
----
GOOS=windows GOARCH=amd64 go build
----
|