update build

This commit is contained in:
AJ ONeal 2020-11-13 03:02:58 -07:00
parent ade7f0ba80
commit 6acda301b0
3 changed files with 13 additions and 26 deletions

31
.gitignore vendored
View File

@ -6,36 +6,21 @@ acme.d
xversion.go xversion.go
*_vfsdata.go *_vfsdata.go
mgmt-server-linux /cmd/dnsclient/dnsclient
mgmt-server-macos
mgmt-server-windows-debug.exe
mgmt-server-windows.exe
telebit-client-linux
telebit-client-macos
telebit-client-windows-debug.exe
telebit-client-windows.exe
/cmd/iplist/iplist /cmd/iplist/iplist
/cmd/machineid/machineid /cmd/machineid/machineid
/cmd/dnsclient/dnsclient
/cmd/sqlstore/sqlstore
/cmd/wsserve/wsserve
/cmd/wsconnect/wsconnect
/cmd/mgmt/mgmt /cmd/mgmt/mgmt
/cmd/signjwt/signjwt /cmd/signjwt/signjwt
/cmd/sqlstore/sqlstore
/cmd/telebit/telebit
/cmd/wsserve/wsserve
/cmd/wsconnect/wsconnect
/telebit-mgmt
/mgmt
/signjwt /signjwt
/cmd/telebit/telebit
/telebit /telebit
/cmd/telebit/telebit
/telebit-relay
/telebit-relay-linux
/telebit-relay-macos
/cmd/telebit-relay/telebit-relay
/cmd/telebit-relay/telebit-relay-linux
/cmd/telebit-relay/telebit-relay-macos
/dist/
*.zip *.zip
.*.sw* .*.sw*
log.txt log.txt

View File

@ -18,9 +18,9 @@ builds:
goarch: goarch:
- amd64 - amd64
- arm64 - arm64
- arm
- id: telebit-mgmt - id: telebit-mgmt
main: ./cmd/mgmt/mgmt.go main: ./cmd/mgmt/mgmt.go
binary: telebit-mgmt
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
goos: goos:
@ -30,12 +30,14 @@ builds:
goarch: goarch:
- amd64 - amd64
- arm64 - arm64
- arm
archives: archives:
- replacements: - replacements:
386: i386 386: i386
amd64: x86_64 amd64: x86_64
arm64: aarch64 arm64: aarch64
format_overrides:
- goos: windows
format: zip
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot:

View File

@ -37,7 +37,7 @@ See [`examples/client.env`][client-env] for detail explanations.
# Build # Build
```bash ```bash
goreleaser --rm-dist --skip-publish goreleaser --rm-dist --skip-publish --snapshot
``` ```
## Install Go ## Install Go