From 4d5b7e133447f0d1ab5b369c5516b4423a1e13a8 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 3 Apr 2024 05:01:05 +0000 Subject: [PATCH 1/3] Rename .lua to .luau --- .editorconfig | 2 +- .github/workflows/ci.yml | 4 ++-- default.project.json | 2 +- develop.project.json | 4 ++-- src/{init.lua => init.luau} | 0 src/{init.spec.lua => init.spec.luau} | 0 test.project.json | 2 +- tests/{Develop.client.lua => Develop.client.luau} | 0 tests/{Test.client.lua => Test.client.luau} | 0 9 files changed, 7 insertions(+), 7 deletions(-) rename src/{init.lua => init.luau} (100%) rename src/{init.spec.lua => init.spec.luau} (100%) rename tests/{Develop.client.lua => Develop.client.luau} (100%) rename tests/{Test.client.lua => Test.client.luau} (100%) diff --git a/.editorconfig b/.editorconfig index 46f92d6..7ec5119 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -[*.lua] +[*.luau] indent_style = tab indent_size = 4 charset = utf-8 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7ceb47..56a460a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,13 +7,13 @@ on: paths-ignore: - "**" - "!.github/workflows/ci.ya?ml" - - "!**.lua" + - "!**.luau" push: paths-ignore: - "**" - "!.github/workflows/ci.ya?ml" - - "!**.lua" + - "!**.luau" permissions: contents: read diff --git a/default.project.json b/default.project.json index 697bef2..5537e23 100644 --- a/default.project.json +++ b/default.project.json @@ -1,6 +1,6 @@ { "name": "Satchel", - "globIgnorePaths": ["**/*.spec.lua"], + "globIgnorePaths": ["**/*.spec.luau"], "tree": { "$path": "src" } diff --git a/develop.project.json b/develop.project.json index 4656021..f7c9110 100644 --- a/develop.project.json +++ b/develop.project.json @@ -1,6 +1,6 @@ { "name": "Satchel", - "globIgnorePaths": ["**/*.spec.lua"], + "globIgnorePaths": ["**/*.spec.luau"], "tree": { "$className": "DataModel", "StarterPlayer": { @@ -8,7 +8,7 @@ "StarterPlayerScripts": { "$className": "StarterPlayerScripts", "Develop": { - "$path": "tests/Develop.client.lua", + "$path": "tests/Develop.client.luau", "Satchel": { "$path": "src" } diff --git a/src/init.lua b/src/init.luau similarity index 100% rename from src/init.lua rename to src/init.luau diff --git a/src/init.spec.lua b/src/init.spec.luau similarity index 100% rename from src/init.spec.lua rename to src/init.spec.luau diff --git a/test.project.json b/test.project.json index 3c2eb10..3e07e0b 100644 --- a/test.project.json +++ b/test.project.json @@ -11,7 +11,7 @@ "StarterPlayerScripts": { "$className": "StarterPlayerScripts", "Test": { - "$path": "tests/Test.client.lua", + "$path": "tests/Test.client.luau", "Satchel": { "$path": "src" } diff --git a/tests/Develop.client.lua b/tests/Develop.client.luau similarity index 100% rename from tests/Develop.client.lua rename to tests/Develop.client.luau diff --git a/tests/Test.client.lua b/tests/Test.client.luau similarity index 100% rename from tests/Test.client.lua rename to tests/Test.client.luau From c746279993b3214bef0c5e3461eb255852a27afd Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 3 Apr 2024 05:02:48 +0000 Subject: [PATCH 2/3] Update .gitattributes --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index dfe0770..cae500e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,4 @@ +*.luau linguist-language=Lua + # Auto detect text files and perform LF normalization * text=auto From 42434b323ba6112ee4ce8d707ab64dd44039b10a Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Mon, 10 Jun 2024 13:27:47 -0700 Subject: [PATCH 3/3] Use .luau default language Signed-off-by: Ryan Luu --- .gitattributes | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index cae500e..dfe0770 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,2 @@ -*.luau linguist-language=Lua - # Auto detect text files and perform LF normalization * text=auto