Files
qurani/dev_rebuild.sh
T
2026-11-11 20:25:21 +01:00

17 lines
444 B
Bash
Executable File

#!/usr/bin/env bash
# Incremental development build of the website and the API.
set -euo pipefail
PACKAGE_ONLY=0
for arg in "$@"; do
case "$arg" in
--package-only) PACKAGE_ONLY=1 ;;
*) echo "Unknown option: $arg" >&2; exit 2 ;;
esac
done
MODE=development
DO_CLEAN=0
export MODE DO_CLEAN PACKAGE_ONLY
# shellcheck source=scripts/build-common.sh
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/scripts/build-common.sh"
run_flow