-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
46 lines (37 loc) · 1.16 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
run-tests:
cargo test -- --nocapture
build:
cargo build --release
docker-build:
docker build -t ghcr.io/lostb1t/replex:test . -f docker/Dockerfile
docker-run:
docker run --rm -it -p 80:80 \
-e REPLEX_REDIRECT_STREAMS=1 -e RUST_LOG="info,replex=info" \
ghcr.io/lostb1t/replex:nginx-test
# push-docker:
# docker push ghcr.io/lostb1t/replex:latest
run:
REPLEX_DISABLE_CONTINUE_WATCHING=0 \
REPLEX_AUTO_SELECT_VERSION=1 \
REPLEX_VIDEO_TRANSCODE_FALLBACK_FOR="4k" \
REPLEX_FORCE_MAXIMUM_QUALITY=0 \
REPLEX_CACHE_ROWS=0 \
REPLEX_CACHE_ROWS_REFRESH=0 \
REPLEX_HERO_ROWS="home.movies.recent,movies.recent,movie.recentlyadded,movie.topunwatched,movie.recentlyviewed,hub.movie.recentlyreleased,home.television.recent,tv.inprogress,tv.recentlyaired" \
REPLEX_PORT=26000 \
REPLEX_INCLUDE_WATCHED=0 \
REPLEX_REDIRECT_STREAMS=0 \
REPLEX_DISABLE_RELATED=0 \
REPLEX_DISABLE_LEAF_COUNT=0 \
REPLEX_DISABLE_USER_STATE=0 \
REPLEX_ENABLE_CONSOLE=0 \
REPLEX_CACHE_TTL=0 \
REPLEX_HUB_RESTRICTIONS=1 \
RUST_BACKTRACE=0 \
RUST_LOG="info,replex=debug" \
REPLEX_NTF_WATCHLIST_FORCE=0 \
cargo watch -w src -x run
fix:
cargo fix
# cargo-update:
# cargo install-update -a