mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 14:45:54 -05:00
Corrections as requested in pull request
This commit is contained in:
parent
2b37c30dd3
commit
c739bd799e
@ -1,8 +1,5 @@
|
||||
# Introduction
|
||||
|
||||
*Note*: Moonfire NVR is currently being rewritten from C++ into Rust. The text
|
||||
below describes the C++ version. See also the "rust" branch.
|
||||
|
||||
Moonfire NVR is an open-source security camera network video recorder, started
|
||||
by Scott Lamb <<slamb@slamb.org>>. It saves H.264-over-RTSP streams from
|
||||
IP cameras to disk into a hybrid format: video frames in a directory on
|
||||
|
11
prep.sh
11
prep.sh
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash -x
|
||||
#
|
||||
# This file is part of Moonfire NVR, a security camera network video recorder.
|
||||
# Copyright (C) 2016 Scott Lamb <slamb@slamb.org>
|
||||
@ -158,13 +158,18 @@ if [ ! -x "${SERVICE_BIN}" ]; then
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
RUST_TEST_THREADS=1 cargo test
|
||||
if ! cargo build --release; then
|
||||
if ! RUST_TEST_THREADS=1 cargo test; then
|
||||
echo "test failed. Try to run the following manually for more info"
|
||||
echo "RUST_TEST_THREADS=1 cargo test --verbose"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
if ! cargo build --release; then
|
||||
echo "Build failed."
|
||||
echo "RUST_TEST_THREADS=1 cargo build --release --verbose"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
sudo install -m 755 target/release/moonfire-nvr ${SERVICE_BIN}
|
||||
if [ -x "${SERVICE_BIN}" ]; then
|
||||
echo "Binary installed..."; echo
|
||||
|
Loading…
Reference in New Issue
Block a user