From 6d9de086d0290cd1f378109977debfed88bf94ce Mon Sep 17 00:00:00 2001 From: Lewin Kelly Date: Sun, 12 Mar 2023 06:13:14 +0000 Subject: [PATCH] Initialise Rojo project with selene, stylua, and aftman --- .gitignore | 6 ++++++ UNLICENSE | 24 ++++++++++++++++++++++++ aftman.toml | 8 ++++++++ default.project.json | 16 ++++++++++++++++ selene.toml | 1 + src/client/Client.client.lua | 1 + src/shared/melt/init.lua | 3 +++ stylua.toml | 6 ++++++ 8 files changed, 65 insertions(+) create mode 100644 .gitignore create mode 100644 UNLICENSE create mode 100644 aftman.toml create mode 100644 default.project.json create mode 100644 selene.toml create mode 100644 src/client/Client.client.lua create mode 100644 src/shared/melt/init.lua create mode 100644 stylua.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..036b621 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Project place file +/melt.rbxlx + +# Roblox Studio lock files +/*.rbxlx.lock +/*.rbxl.lock \ No newline at end of file diff --git a/UNLICENSE b/UNLICENSE new file mode 100644 index 0000000..00d2e13 --- /dev/null +++ b/UNLICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to \ No newline at end of file diff --git a/aftman.toml b/aftman.toml new file mode 100644 index 0000000..87ff3cd --- /dev/null +++ b/aftman.toml @@ -0,0 +1,8 @@ +# This file lists tools managed by Aftman, a cross-platform toolchain manager. +# For more information, see https://github.com/LPGhatguy/aftman + +# To add a new tool, add an entry to this table. +[tools] +rojo = "rojo-rbx/rojo@7.2.1" +selene = "Kampfkarren/selene@0.24.0" +stylua = "johnnymorganz/stylua@0.15.3" diff --git a/default.project.json b/default.project.json new file mode 100644 index 0000000..e1d871a --- /dev/null +++ b/default.project.json @@ -0,0 +1,16 @@ +{ + "name": "melt", + "tree": { + "$className": "DataModel", + + "ReplicatedStorage": { + "$path": "src/shared" + }, + + "StarterPlayer": { + "StarterPlayerScripts": { + "$path": "src/client" + } + } + } +} diff --git a/selene.toml b/selene.toml new file mode 100644 index 0000000..c4ddb46 --- /dev/null +++ b/selene.toml @@ -0,0 +1 @@ +std = "roblox" diff --git a/src/client/Client.client.lua b/src/client/Client.client.lua new file mode 100644 index 0000000..c92eb29 --- /dev/null +++ b/src/client/Client.client.lua @@ -0,0 +1 @@ +print "Hello world, from client!" diff --git a/src/shared/melt/init.lua b/src/shared/melt/init.lua new file mode 100644 index 0000000..c819e8b --- /dev/null +++ b/src/shared/melt/init.lua @@ -0,0 +1,3 @@ +return function() + print "Hello, world!" +end diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..6342351 --- /dev/null +++ b/stylua.toml @@ -0,0 +1,6 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Tabs" +indent_width = 4 +quote_style = "AutoPreferDouble" +call_parentheses = "None"