-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix missing functions in codegen (#210)
* make the codegen crate work with vscode finally * update CI to use xtask for bindings * refactor slightly * add nightly toolchain to setup * update PR command * control vscode settings.json from init * add docs mention * tighten codegen ordering * clean bevy target dir before codegen * add more context to errors * tighten the codegen ordering again, for collection * print faulty json * escape json * chore(codegen): update bevy bindings (#214) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * typo * ignore less paths now that everything is one workflow * fix bug causing incomplete codegen * fix clippy * inject BMS into codegen :D * remove 'dependencies' key from tera * remove mlua references from codegen --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
67b253d
commit b874050
Showing
38 changed files
with
3,166 additions
and
1,191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
settings.json |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
#!/usr/bin/env pwsh | ||
Remove-Variable -Name RUSTUP_TOOLCHAIN -ErrorAction SilentlyContinue | ||
$CURRENT_DIR = Split-Path -Leaf -Path (Get-Location) | ||
|
||
if ($CURRENT_DIR -eq "bevy_api_gen") { | ||
cargo +nightly-2024-12-15 clippy --all-targets --message-format=json | ||
} else { | ||
cargo clippy --workspace --all-targets --message-format=json --features="lua54 rhai rune bevy/file_watcher bevy/multi_threaded" | ||
} | ||
Set-Location -Path (Split-Path -Parent $MyInvocation.MyCommand.Definition) | ||
cargo xtask check --ide-mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.