Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,18 @@ generate-rs: ## Generate Rust client
rm -rf rust/gen/bluefin_api
apigen -l rust

.PHONY: example-rs
example-rs: ## Run the example for the generated Rust client
.PHONY: py-example
py-example: ## Run the example for the generated Python client
cd python/example && python3 main.py

.PHONY: rs-example
rs-example: ## Run the example for the generated Rust client
cd rust; for i in `ls examples/ | grep -v shutdown`; do name=$${i::-3}; echo "$$name"; cargo run --example "$$name"; done

.PHONY: ts-typecheck
ts-typecheck: generate-ts ## Type check the generated TypeScript client
docker run --rm -v "${PWD}:/work" -w /work/ts/sdk node:24 sh -lc "yarn install --frozen-lockfile && yarn build:types && yarn build:example"

.PHONY: ts-example
ts-example: ## Run the example for the generated Typescript client
docker run --rm -v "${PWD}:/work" -w /work/ts/sdk node:24 sh -lc "yarn install --frozen-lockfile && yarn build:types && yarn tsx example.ts"
32 changes: 16 additions & 16 deletions python/sdk/src/openapi_client/test/test_contracts_config.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

158 changes: 79 additions & 79 deletions python/sdk/src/openapi_client/test/test_exchange_info_response.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading