-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (18 loc) · 639 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
run:
cargo run
watch:
cargo watch --quiet --clear --exec 'run --quiet'
build:
cargo build
build-release:
cargo build --release
test:
cargo test
docker-build:
docker build -t zeeshans/slim:prayer-alarm-rust .
docker-run:
docker run --rm -it -e PULSE_SERVER=host.docker.internal -p 3000:3000 --mount type=bind,source=${HOME}/.config/pulse,target=/home/pulseaudio/.config/pulse zeeshans/prayer-alarm-rust
docker-build-rpi:
docker build -t zeeshans/slim:prayer-alarm-rust -f rpi.Dockerfile .
docker-run-rpi:
docker run --rm -it --device /dev/snd --security-opt seccomp=unconfined -p 3000:3000 zeeshans/slim:prayer-alarm-rust