chore: bootstrap lean sysadmin-chronicles repo
Import the runnable game code, content, docs, scripts, and repo guidance while leaving local agent state, dependency installs, build output, and backup copies out of the published tree.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# test-content.sh — Run content validation from CLI
|
||||
#
|
||||
# Usage:
|
||||
# bash tools/dev/test-content.sh
|
||||
# bash tools/dev/test-content.sh --verbose
|
||||
# bash tools/dev/test-content.sh --quests-only
|
||||
|
||||
set -euo pipefail
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
|
||||
if ! command -v node &>/dev/null; then
|
||||
echo "ERROR: node not found. Install Node.js to run content validation."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec node "$PROJECT_ROOT/tools/content/validate-content.js" "$@"
|
||||
Reference in New Issue
Block a user