compile two versions: relay-lite and relay-full.
This commit is contained in:
parent
3404dee7d0
commit
299c596a72
|
@ -1 +1,2 @@
|
|||
relay
|
||||
relay-lite
|
||||
relay-full
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
relay: $(shell find . -name "*.go")
|
||||
go build -ldflags="-s -w" -o ./relay
|
||||
relay-lite: $(shell find . -name "*.go")
|
||||
go build -ldflags="-s -w" -o ./relay-lite
|
||||
|
||||
relay-full: $(shell find . -name "*.go")
|
||||
go build -ldflags="-s -w" -tags full -o ./relay-full
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build postgres
|
||||
// +build full
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !postgres
|
||||
// +build !full
|
||||
|
||||
package main
|
||||
|
||||
|
|
Loading…
Reference in New Issue