-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
35 lines (24 loc) · 802 Bytes
/
Makefile
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
26
27
28
29
30
31
32
33
34
35
cleanpub:
rm -f bin/oub
cleansub:
rm -f bin/sub
cleanrelay:
rm -f bin/relay
relaysource : examples/relay/relay.go cleanrelay
go build -o bin/relay examples/relay/relay.go
pubsource : examples/pub/pub.go cleanpub
go build -o bin/pub examples/pub/pub.go
subsource : examples/sub/sub.go cleansub
go build -o bin/sub examples/sub/sub.go
relay : relaysource cleanrelay
bin/relay -certpath=./examples/certs/localhost.crt -keypath=./examples/certs/localhost.key -debug
pub : pubsource
bin/pub -debug
counter : pubsource
bin/counter | bin/pub -debug
sub : subsource
bin/sub -debug
relay_prod : relaysource
env MOQT_CERT_PATH=/etc/letsencrypt/live/in.dineshadhi.com/fullchain.pem MOQT_KEY_PATH=/etc/letsencrypt/live/in.dineshadhi.com/privkey.pem bin/relay
cert:
sh examples/certs/cert.sh