Skip to content

Commit b2e907a

Browse files
authored
Merge pull request #10 from makspll/add_general_api
Add general api
2 parents 7362e96 + 38fca30 commit b2e907a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+32146
-685
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[env]
2-
TARGET_DIR={ value = "target" , relative = true }
2+
TARGET_DIR={ value = "target", relative = true }

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Cargo.lock
99
# These are backup files generated by rustfmt
1010
**/*.rs.bk
1111

12+
.vscode/
13+
14+
**global_types.d.tl
1215
**/doc
1316
**tlconfig.lua
14-
**.log
17+
**.log
18+
**build

.vscode/launch.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,16 @@
242242
{
243243
"type": "lldb",
244244
"request": "launch",
245-
"name": "Debug example 'native_types'",
245+
"name": "Debug example 'bevy_api'",
246246
"cargo": {
247247
"args": [
248248
"build",
249-
"--example=native_types",
250-
"--package=bevy_mod_scripting"
249+
"--example=bevy_api_lua",
250+
"--package=bevy_mod_scripting",
251+
"--features=lua54"
251252
],
252253
"filter": {
253-
"name": "native_types",
254+
"name": "bevy_api_lua",
254255
"kind": "example"
255256
}
256257
},

.vscode/settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@
77
"rust-analyzer.cargo.features": [
88
"lua54",
99
"teal",
10-
]
11-
}
10+
],
11+
"rust-analyzer.server.extraEnv": {
12+
"RUSTUP_TOOLCHAIN": "stable"
13+
}
14+
}
15+

Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
resolver = "2"
33
members = [
44
"bevy_mod_scripting",
5-
"bevy_event_priority"
5+
"bevy_event_priority",
6+
"bevy_mod_scripting_derive",
7+
"bevy_api_gen"
68
]
79

10+
[profile.dev]
11+
opt-level = 1
12+
13+
[profile.dev.package."*"]
14+
opt-level = 3

0 commit comments

Comments
 (0)