Skip to content

Commit 2692729

Browse files
authored
Changed file extensions of init command from lua to luau (#831)
1 parent 6adc5eb commit 2692729

File tree

14 files changed

+15
-10
lines changed

14 files changed

+15
-10
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ insert_final_newline = true
2323
insert_final_newline = true
2424

2525
[*.lua]
26+
indent_style = tab
27+
28+
[*.luau]
2629
indent_style = tab

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
## Unreleased Changes
44
* Improved the visualization for array properties like Tags ([#829])
5-
* Significantly improved performance of `rojo serve`, `rojo build --watch`, and `rojo sourcemap --watch` on macOS. [#830]
5+
* Significantly improved performance of `rojo serve`, `rojo build --watch`, and `rojo sourcemap --watch` on macOS. ([#830])
6+
* Changed *.lua files that init command generates to *.luau ([#831])
67

78
[#829]: https://github.com/rojo-rbx/rojo/pull/829
89
[#830]: https://github.com/rojo-rbx/rojo/pull/830
10+
[#831]: https://github.com/rojo-rbx/rojo/pull/831
911

1012
## [7.4.0-rc3] - October 25, 2023
1113
* Changed `sourcemap --watch` to only generate the sourcemap when it's necessary ([#800])
File renamed without changes.

rojo-test/build-test-snapshots/end_to_end__tests__build__server_init.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ expression: contents
77
<Properties>
88
<string name="Name">server_init</string>
99
<token name="RunContext">0</token>
10-
<string name="Source">return "From folder/init.server.lua"</string>
10+
<string name="Source">return "From folder/init.server.luau"</string>
1111
</Properties>
1212
</Item>
1313
</roblox>

rojo-test/build-tests/client_in_folder/folder/localScript.client.lua renamed to rojo-test/build-tests/client_in_folder/folder/localScript.client.luau

File renamed without changes.

rojo-test/build-tests/nested_runcontext/folder1/test.server.lua renamed to rojo-test/build-tests/nested_runcontext/folder1/test.server.luau

File renamed without changes.

rojo-test/build-tests/nested_runcontext/folder2/folder3/test.server.lua renamed to rojo-test/build-tests/nested_runcontext/folder2/folder3/test.server.luau

File renamed without changes.

rojo-test/build-tests/script_meta_disabled/folder/hello.server.lua renamed to rojo-test/build-tests/script_meta_disabled/folder/hello.server.luau

File renamed without changes.

rojo-test/build-tests/server_in_folder/folder/serverScript.server.lua renamed to rojo-test/build-tests/server_in_folder/folder/serverScript.server.luau

File renamed without changes.

rojo-test/build-tests/server_init/folder/init.server.lua

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)