Skip to content

Commit

Permalink
Update generate.sh to point to new location of errors crate
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Dec 2, 2023
1 parent 0c03d08 commit 8f75068
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ DOCS_DIR=$SCRIPT_DIR/../

# Generate docs
echo "Generate errors.md"
$SCRIPT_DIR/generate_errors_page.sh $RESTATE_PATH/src/errors/src/error_codes
$SCRIPT_DIR/generate_errors_page.sh $RESTATE_PATH/crates/errors/src/error_codes

pushd $RESTATE_PATH

echo "Generate OpenAPI"
cargo xtask generate-rest-api-doc > $DOCS_DIR/static/schemas/openapi-meta.json
cargo xtask generate-rest-api-doc > $DOCS_DIR/static/schemas/openapi-meta.json

echo "Generate config schema"
cargo xtask generate-config-schema > $DOCS_DIR/static/schemas/config_schema.json
cargo xtask generate-config-schema > $DOCS_DIR/static/schemas/config_schema.json

echo "Generate default config"
cargo xtask generate-default-config > $DOCS_DIR/static/schemas/restate.yaml


popd
popd

0 comments on commit 8f75068

Please sign in to comment.