Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Implemented PolicyDslValidator with command-line options for strict mode and JSON output. - Created PolicySchemaExporter to generate JSON schemas for policy-related models. - Developed PolicySimulationSmoke tool to validate policy simulations against expected outcomes. - Added project files and necessary dependencies for each tool. - Ensured proper error handling and usage instructions across tools.
12 lines
259 B
Bash
12 lines
259 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
|
|
OUTPUT_DIR="${1:-$REPO_ROOT/docs/schemas}"
|
|
|
|
pushd "$REPO_ROOT" > /dev/null
|
|
|
|
dotnet run --project tools/PolicySchemaExporter -- "$OUTPUT_DIR"
|
|
|
|
popd > /dev/null
|