Skip to content

Commit 2fa5598

Browse files
committed
support format
1 parent 6c7bab8 commit 2fa5598

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

crates/basic/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ fn build_emmyluacodestyle() {
7676
.include("3rd/EmmyLuaCodeStyle/LuaParser/include")
7777
.include("3rd/EmmyLuaCodeStyle/3rd/wildcards/include")
7878
.include("3rd/LuaJIT/src");
79+
builder.define("LUAJIT", "1");
7980

8081
let file_patterns = vec![
8182
"3rd/EmmyLuaCodeStyle/CodeFormatLib/src/*.cpp",

crates/luals/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ tokio.workspace = true
1616
luals-basic = { path = "../basic" , optional = true }
1717

1818
[features]
19-
default = ["luals-basic", "no_format"]
19+
default = ["luals-basic"]
2020
no_format = ["luals-basic/no_format"]

publish/UnixPublish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
cargo build --release -p luals --features "no_format"
3+
cargo build --release -p luals
44

55
if [ -d "dist" ]; then
66
rm -rf dist

publish/WinPublish.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cargo build --release -p luals --features "no_format"
1+
cargo build --release -p luals
22

33
$distPath = "dist"
44

0 commit comments

Comments
 (0)