-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (25 loc) · 1.05 KB
/
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
build:
mkdir -p bin
go build -o bin/1-basic-tutorial 1-basic-tutorial/main.go
go build -o bin/2-basic-tutorial 2-basic-tutorial/main.go
go build -o bin/2-basic-exercise 2-basic-tutorial/exercise/main.go
go build -o bin/3-basic-tutorial 3-basic-tutorial/main.go
go build -o bin/3-basic-exercise 3-basic-tutorial/exercise/main.go
go build -o bin/4-basic-tutorial 4-basic-tutorial/main.go
go build -o bin/6-basic-tutorial 6-basic-tutorial/main.go
go build -o bin/7-basic-tutorial 7-basic-tutorial/main.go
go build -o bin/fyne-webcam examples/fyne-webcam/main.go
go build -o bin/webrtc-webcam examples/webrtc-webcam/*.go
cp -r examples/webrtc-webcam/static bin/static
go build -o bin/record-motion-detections examples/record-motion-detections/*.go
go build -o bin/desktop-recorder examples/desktop-recorder/main.go
ex-webrtc:
./bin/webrtc-webcam
ex-record-motion:
mkdir -p videos
./bin/record-motion-detections -path ./videos
ex-record-desktop:
mkdir -p videos
./bin/desktop-recorder -out ./videos/test.mp4
ex-fyne-webcam:
./bin/fyne-webcam