Skip to content

Commit b4ba1ee

Browse files
Merge pull request #48 from smartbone-org/jakey
v0.5.0
2 parents a41c8a4 + 870c72e commit b4ba1ee

File tree

142 files changed

+557
-429
lines changed

Some content is hidden

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

142 files changed

+557
-429
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"[luau]": {
77
"editor.defaultFormatter": "JohnnyMorganz.stylua",
88
"editor.formatOnSave": true
9-
}
9+
},
10+
"luau-lsp.sourcemap.rojoProjectFile": "src.project.json"
1011
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ local RULES = {
1515
"compute_expression",
1616
"remove_unused_if_branch",
1717
"remove_unused_while",
18-
"remove_empty_do",
1918
"remove_nil_declaration",
2019
"filter_after_early_return",
2120
}
@@ -24,6 +23,8 @@ if not DEBUG_PROFILING then
2423
table.insert(RULES, "remove_debug_profiling")
2524
end
2625

26+
table.insert(RULES, "remove_empty_do")
27+
2728
local REQUIRE_ALIASES = {}
2829

2930
-- !! DO NOT EDIT BELOW THIS LINE !!

scripts/start-dev.luau

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
local fs = require("@lune/fs")
2+
local process = require("@lune/process")
3+
local task = require("@lune/task")
4+
5+
print("Installing packages")
6+
7+
process.spawn("rokit", { "install" }, { stdio = "forward" })
8+
9+
print("Clearing old build")
10+
11+
if fs.isDir("./src-build") then
12+
fs.removeDir("./src-build")
13+
end
14+
15+
print("Building darklua config")
16+
17+
process.spawn("lune", { "run", "scripts/darkluaconfig" }, { stdio = "forward" })
18+
19+
print("Starting darklua watch")
20+
21+
task.spawn(process.spawn, "./dev.bat", {}, { stdio = "forward" })
22+
23+
print("Starting server")
24+
25+
repeat
26+
task.wait()
27+
until fs.isDir("./src-build")
28+
29+
task.wait()
30+
31+
print("Starting rojo")
32+
33+
process.spawn("rojo", {
34+
"serve",
35+
"dev.project.json",
36+
}, { stdio = "forward" })

sourcemap.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)