-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proxy derive macros, rustc plugin codegen, safety improvements (#67)
* adds LuaProxy derive macro * bevy_api_gen is now a rustc extension which can work on arbitrary codebases * removed some unsafe blocks * all wrappers are now Clone regardless if the underlying type is due to Arc * added high level documentation
- Loading branch information
Showing
199 changed files
with
37,707 additions
and
18,264 deletions.
There are no files selected for viewing
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,2 +1,2 @@ | ||
[env] | ||
TARGET_DIR={ value = "target", relative = true } | ||
TARGET_DIR = { value = "target", relative = true } |
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,5 +1,2 @@ | ||
bevy_script_api/src/generated.rs linguist-generated | ||
bevy_script_api/src/generated.rs -diff -merge | ||
|
||
**/*generated*.rs linguist-generated | ||
**/*generated*.rs -diff -merge | ||
crates/bevy_script_api/providers/*.rs linguist-generated | ||
crates/bevy_script_api/providers/*.rs -diff -merge |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# max_width = 60 | ||
# use_small_heuristics = "Max" | ||
# format_generated_files = false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"version": "2.0.0", | ||
"inputs": [ | ||
{ | ||
"id": "test_name", | ||
"type": "promptString", | ||
"description": "Run only tests including this string in their name", | ||
"default": "" | ||
}, | ||
{ | ||
"id": "package", | ||
"type": "promptString", | ||
"description": "The crate location of this unit test", | ||
"default": "bevy_mod_scripting" | ||
} | ||
], | ||
"tasks": [ | ||
{ | ||
"label": "Build specific package's unit tests", | ||
"type": "process", | ||
"command": "make", | ||
"args": [ | ||
"build_test_in_package", | ||
"PACKAGE=${input:package}", | ||
"TEST_NAME=${input:test_name}" | ||
] | ||
} | ||
] | ||
} |
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.