mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
6ed23e90e8
* support cross-compiling an x86-64 target on an arm64 host. This it turns out is a matter of *removing* an unnecessary dependency. (aarch64-linux-gnu-pkg-config exists but x86_64-linux-gnu-pkg-config doesn't. Turns out neither is necessary.) Added a comment explaining where ${gcc_target}-pkg-config comes from now. * documentation tweaks * improve debug output a bit
25 lines
620 B
Bash
Executable File
25 lines
620 B
Bash
Executable File
#!/bin/bash
|
|
# This file is part of Moonfire NVR, a security camera network video recorder.
|
|
# Copyright (C) 2021 The Moonfire NVR Authors; see AUTHORS and LICENSE.txt.
|
|
# SPDX-License-Identifier: GPL-v3.0-or-later WITH GPL-3.0-linking-exception.
|
|
|
|
# Build the "build-ui" target. See Dockerfile.
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o xtrace
|
|
|
|
mkdir /docker-build-debug/build-ui
|
|
exec > >(tee -i /docker-build-debug/build-ui/output) 2>&1
|
|
|
|
date
|
|
uname -a
|
|
node --version
|
|
npm --version
|
|
time npm ci
|
|
time npm run build
|
|
|
|
find /var/lib/moonfire-nvr/src/ui/node_modules -ls \
|
|
> /docker-build-debug/build-ui/node_modules-after
|
|
date
|