Voice and text communications platform powered by WebRTC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
945 B

project_name: harmony
env:
- GO111MODULE=on
- CGO_ENABLED=1
before:
hooks:
- go get github.com/omeid/go-resources/cmd/resources
- resources -output=./pkg/web/assets_embed.go -tag=embed -package=web -var=assets -trim=pkg/web/public/ pkg/web/public/* pkg/web/public/assets/* pkg/web/public/assets/css/* pkg/web/public/assets/js/*
builds:
-
id: harmony-server
binary: harmony-server
main: ./cmd/harmony-server
flags:
- -tags=embed
ldflags:
- -s -w -X code.rocketnine.space/tslocum/harmony/pkg/config.Version={{.Version}}
goos:
# - darwin
# - freebsd
- linux
# - windows
goarch:
- 386
- amd64
archives:
-
id: harmony
builds:
- harmony-server
replacements:
386: i386
format_overrides:
- goos: windows
format: zip
files:
- ./*.md
- CHANGELOG
- LICENSE
checksum:
name_template: 'checksums.txt'