generated from Sovereignty/rojo-selene-luau-template
Initial commit
This commit is contained in:
commit
99d6fe690d
11 changed files with 104 additions and 0 deletions
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Project place file
|
||||||
|
/*.rbxl
|
||||||
|
/sourcemap.json
|
||||||
|
# Roblox Studio lock files
|
||||||
|
/*.rbxlx.lock
|
||||||
|
/*.rbxl.lock
|
||||||
|
/.vscode
|
||||||
|
/.png
|
49
README.md
Normal file
49
README.md
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Template Repository
|
||||||
|
Meant to be used as a template when creating new repositories.
|
||||||
|
|
||||||
|
The default project json is a little advanced for some individuals' tastes. You are welcome to switch it out, or use one of the other provided project template files.
|
||||||
|
## Uses
|
||||||
|
|
||||||
|
- Selene for linting
|
||||||
|
- Rojo for syncing
|
||||||
|
- Luau Language Server for syntax, intellisense, type checking, and intellisense syncing
|
||||||
|
|
||||||
|
## How To Use
|
||||||
|
Go ahead and create a new repository by selecting the plus icon on the top right of the screen.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
A dropdown menu will open, pick the first option.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
When creating a new repository, you will be prompted with the chance to choose the template for your new repo.
|
||||||
|
Select this repository, and then select the options shown below.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
- Luau Language Server [Link](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.luau-lsp)
|
||||||
|
- Has an optional Roblox Studio plugin which allows for you to have intellisense for in-studio assets like Instances.
|
||||||
|
|
||||||
|
- Rojo (One way syncing) [Link](https://marketplace.visualstudio.com/items?itemName=evaera.vscode-rojo)
|
||||||
|
- You will need the Roblox Studio pair version of this extension.
|
||||||
|
|
||||||
|
- Selene Linting (Preferably download locally via cargo{rust}) [Link](https://marketplace.visualstudio.com/items?itemName=Kampfkarren.selene-vscode)
|
||||||
|
|
||||||
|
- Stylua (Styling/Formatting) [Link](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua)
|
||||||
|
|
||||||
|
## Info
|
||||||
|
|
||||||
|
Use the init.meta.json to ignore descendant/neighbor files when syncing. This means that it will not overwrite non rojo files that may be present only in Roblox Studio.
|
||||||
|
|
||||||
|
Clone this file into whatever folder this functionality would be applicable to you.
|
||||||
|
|
||||||
|
## Branches
|
||||||
|
|
||||||
|
The repository has two protected branches.
|
||||||
|
- main
|
||||||
|
- Does not allow for code to be pushed to main, and merging a branch into main requires approval before doing so.
|
||||||
|
- testing
|
||||||
|
- Does not allow for code to be pushed to testing, however merging is permitted as this branch is intended for testing code.
|
BIN
assets/image-1.png
Normal file
BIN
assets/image-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 249 KiB |
BIN
assets/image-2.png
Normal file
BIN
assets/image-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
BIN
assets/image.png
Normal file
BIN
assets/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
43
default.project.json
Normal file
43
default.project.json
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"name": "E_CS",
|
||||||
|
"tree": {
|
||||||
|
"$className": "DataModel",
|
||||||
|
|
||||||
|
"ReplicatedStorage": {
|
||||||
|
"$path": "src/Replicated/Storage"
|
||||||
|
},
|
||||||
|
|
||||||
|
"ReplicatedFirst": {
|
||||||
|
"$path": "src/Replicated/First"
|
||||||
|
},
|
||||||
|
|
||||||
|
"ServerScriptService": {
|
||||||
|
"$path": "src/Server/Scripts"
|
||||||
|
},
|
||||||
|
|
||||||
|
"ServerStorage": {
|
||||||
|
"$path": "src/Server/Storage"
|
||||||
|
},
|
||||||
|
|
||||||
|
"StarterPlayer": {
|
||||||
|
"StarterPlayerScripts": {
|
||||||
|
"$path": "src/Local/Player"
|
||||||
|
},
|
||||||
|
"StarterCharacterScripts": {
|
||||||
|
"$path": "src/Local/Character"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"Workspace": {
|
||||||
|
"$properties": {
|
||||||
|
"FilteringEnabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"SoundService": {
|
||||||
|
"$properties": {
|
||||||
|
"RespectFilteringEnabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
3
init.meta.json
Normal file
3
init.meta.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"ignoreUnknownInstances": true
|
||||||
|
}
|
1
selene.toml
Normal file
1
selene.toml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
std = roblox
|
0
src/Local/Player/runtime.client.lua
Normal file
0
src/Local/Player/runtime.client.lua
Normal file
0
src/Replicated/Storage/Hello.luau
Normal file
0
src/Replicated/Storage/Hello.luau
Normal file
0
src/Server/Scripts/runtime.server.lua
Normal file
0
src/Server/Scripts/runtime.server.lua
Normal file
Loading…
Reference in a new issue