Minor change to gitignore and added workspace metadata.
This commit is contained in:
parent
8de4bff392
commit
77453fe177
1
.gitignore
vendored
1
.gitignore
vendored
@ -123,7 +123,6 @@ buildNumber.properties
|
|||||||
# End of https://www.gitignore.io/api/java,maven,eclipse,visualstudiocode
|
# End of https://www.gitignore.io/api/java,maven,eclipse,visualstudiocode
|
||||||
|
|
||||||
#Additional
|
#Additional
|
||||||
**/*.code-workspace
|
|
||||||
local_tools
|
local_tools
|
||||||
|
|
||||||
#Test server stuff
|
#Test server stuff
|
||||||
|
24
.vscode/launch.json
vendored
Normal file
24
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "Debug (Launch) - Current File",
|
||||||
|
"request": "launch",
|
||||||
|
"mainClass": "${file}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "Debug With MC Server",
|
||||||
|
"request": "attach",
|
||||||
|
"hostName": "localhost",
|
||||||
|
"port": 25566,
|
||||||
|
"sourcePaths": ["src/main/java"],
|
||||||
|
"preLaunchTask": "start test server",
|
||||||
|
"postDebugTask": "stop test server"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
78
.vscode/tasks.json
vendored
Normal file
78
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "verify",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mvn -B verify",
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "test",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mvn -B test",
|
||||||
|
"group": "test"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "package",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mvn package",
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"dependsOn": ["package"],
|
||||||
|
"label": "update test server",
|
||||||
|
"type": "shell",
|
||||||
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load_latest_build.ps1"],
|
||||||
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
||||||
|
"command": "powershell",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "silent",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared",
|
||||||
|
"showReuseMessage": false,
|
||||||
|
"clear": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"dependsOn": ["update test server"],
|
||||||
|
"label": "start test server",
|
||||||
|
"type": "shell",
|
||||||
|
"runOptions": {"instanceLimit": 1},
|
||||||
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start_process.ps1"],
|
||||||
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
||||||
|
"command": "powershell",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": "test",
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "silent",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared",
|
||||||
|
"showReuseMessage": false,
|
||||||
|
"clear": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "stop test server",
|
||||||
|
"type": "shell",
|
||||||
|
"args": ["-ExecutionPolicy", "Bypass", "-File", "./end_process.ps1"],
|
||||||
|
"options": {"cwd": "${workspaceFolder}/test-server/"},
|
||||||
|
"command": "powershell",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": "test",
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "silent",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared",
|
||||||
|
"showReuseMessage": true,
|
||||||
|
"clear": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
8
minecraftdiscordtether.code-workspace
Normal file
8
minecraftdiscordtether.code-workspace
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": "."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user