Files
dropshell/source/build_production.sh
j842 efd11657ac
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 59s
Build-Test-Publish / build (linux/arm64) (push) Failing after 2m45s
docs: Add 6, update 4 and remove 2 files
2025-08-17 21:01:38 +12:00

19 lines
586 B
Bash
Executable File

#!/bin/bash
# This script now uses Docker for consistent builds
# For direct builds, use the Docker-based build.sh script in the parent directory
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
PARENT_DIR="$(dirname "${SCRIPT_DIR}")"
echo "Using Docker-based build system..."
echo "Building release version for production..."
# Run the Docker build with release settings
CMAKE_BUILD_TYPE=Release INSTALL_LOCAL=false "${PARENT_DIR}/build.sh"
echo "Static binary has been created in ${PARENT_DIR}/output/"
ls -la "${PARENT_DIR}/output"