Skip to content

Commit

Permalink
Luau support attempt (#154)
Browse files Browse the repository at this point in the history
* try add support for luau

* add luau feature to ci
  • Loading branch information
makspll authored Dec 3, 2024
1 parent c222a03 commit 7a7299d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/bevy_mod_scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
{label: Ubuntu - Lua52, os: ubuntu-latest, features: "lua52,lua_script_api", cross: x86_64-unknown-linux-gnu },
{label: Ubuntu - Lua53, os: ubuntu-latest, features: "lua53,lua_script_api", cross: x86_64-unknown-linux-gnu },
{label: Ubuntu - Luajit, os: ubuntu-latest, features: "luajit,lua_script_api", cross: x86_64-unknown-linux-gnu },
{label: Ubuntu - Luajit52, os: ubuntu-latest, features: "luajit52,lua_script_api", cross: x86_64-unknown-linux-gnu }
{label: Ubuntu - Luajit52, os: ubuntu-latest, features: "luajit52,lua_script_api", cross: x86_64-unknown-linux-gnu },
{label: Ubuntu - Luau, os: ubuntu-latest, features: "luau,lua_script_api", cross: x86_64-unknown-linux-gnu }

]
steps:
- if: runner.os == 'linux'
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ lua53 = ["bevy_mod_scripting_lua/lua53", "lua"]
lua54 = ["bevy_mod_scripting_lua/lua54", "lua"]
luajit = ["bevy_mod_scripting_lua/luajit", "lua"]
luajit52 = ["bevy_mod_scripting_lua/luajit52", "lua"]
luau = ["bevy_mod_scripting_lua/luau", "lua"]

# optional
lua_script_api = ["bevy_script_api/lua"]
Expand Down
1 change: 0 additions & 1 deletion crates/bevy_script_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ rhai = ["bevy_mod_scripting_rhai"]
[dependencies]
bevy = { workspace = true, default-features = false, features = [
"bevy_asset",
"bevy_gltf",
"bevy_animation",
"bevy_core_pipeline",
"bevy_ui",
Expand Down
1 change: 1 addition & 0 deletions crates/languages/bevy_mod_scripting_lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ lua53 = ["tealr/mlua_lua53"]
lua54 = ["tealr/mlua_lua54"]
luajit = ["tealr/mlua_luajit"]
luajit52 = ["tealr/mlua_luajit52"]
luau = ["tealr/mlua_luau"]
mlua_serialize = ["tealr/mlua_serialize"]
mlua_macros = ["tealr/mlua_macros"]
mlua_async = ["tealr/mlua_async"]
Expand Down

0 comments on commit 7a7299d

Please sign in to comment.