We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63fa356 commit be5bb9dCopy full SHA for be5bb9d
Makefile
@@ -0,0 +1,32 @@
1
+APP=RTSPtoWeb
2
+SERVER_FLAGS ?= -config config.json
3
+
4
+P="\\033[34m[+]\\033[0m"
5
6
+build:
7
+ @echo "$(P) build"
8
+ GO111MODULE=on go build *.go
9
10
+run:
11
+ @echo "$(P) run"
12
+ GO111MODULE=on go run *.go
13
14
+serve:
15
+ @$(MAKE) server
16
17
+server:
18
+ @echo "$(P) server $(SERVER_FLAGS)"
19
+ ./${APP} $(SERVER_FLAGS)
20
21
+test:
22
+ @echo "$(P) test"
23
+ bash test.curl
24
+ bash test_multi.curl
25
26
+lint:
27
+ @echo "$(P) lint"
28
+ go vet
29
30
+.NOTPARALLEL:
31
32
+.PHONY: build run server test lint
0 commit comments