File tree Expand file tree Collapse file tree
src/clients/python/src/justbe_webview Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,20 +31,23 @@ run = "deno run -A scripts/sync-versions.ts"
3131[tasks ."gen:rust" ]
3232description = " Generate JSON schemas from the rust code"
3333run = " cargo run --bin generate_schemas"
34+ depends_post = [" format:rust" ]
3435sources = [" src/**/*.rs" , " Cargo.toml" , " Cargo.lock" ]
3536outputs = [" schemas/*.json" ]
3637
3738[tasks ."gen:deno" ]
3839description = " Generate the deno client"
3940run = " deno run -A scripts/generate-schema/index.ts --language typescript"
4041depends = [" gen:rust" ]
42+ depends_post = [" format:deno" ]
4143sources = [" schemas/*" , " scripts/generate-schema.ts" ]
4244outputs = [" src/clients/deno/schemas/*.ts" ]
4345
4446[tasks ."gen:python" ]
4547description = " Generate the python client"
4648run = " deno run -A scripts/generate-schema/index.ts --language python"
4749depends = [" gen:rust" ]
50+ depends_post = [" format:python" ]
4851sources = [" schemas/*" , " scripts/generate-schema.ts" ]
4952outputs = [" src/clients/python/src/justbe_webview/schemas/*.py" ]
5053
You can’t perform that action at this time.
0 commit comments