Added sync command
This commit is contained in:
15
.vscode/launch.json
vendored
Normal file
15
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
// 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": "Development Server",
|
||||
"request": "attach",
|
||||
"hostName": "localhost",
|
||||
"port": 5005,
|
||||
}
|
||||
]
|
||||
}
|
47
.vscode/tasks.json
vendored
47
.vscode/tasks.json
vendored
@@ -2,6 +2,7 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build Plugin to Development Server",
|
||||
"type": "java (buildArtifact)",
|
||||
"targetPath": "${workspaceFolder}/devserver/plugins/${workspaceFolderBasename}.jar",
|
||||
"elements": [
|
||||
@@ -9,7 +10,49 @@
|
||||
"${dependencies}"
|
||||
],
|
||||
"problemMatcher": [],
|
||||
"label": "Build SpigotResourceSync to plugins"
|
||||
},
|
||||
{
|
||||
"label": "Install Development Server",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/buildtools/install.sh",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/buildtools"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Start Development Server",
|
||||
"type": "shell",
|
||||
"isBackground": true,
|
||||
"command": "${workspaceFolder}/devserver/start.sh",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/devserver"
|
||||
},
|
||||
"dependsOn": [
|
||||
"Build Plugin to Development Server",
|
||||
],
|
||||
"problemMatcher": [
|
||||
{
|
||||
"source": "Spigot Server",
|
||||
"fileLocation": [
|
||||
"autoDetect",
|
||||
"${workspaceFolder}/src"
|
||||
],
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^\\[\\d\\d:\\d\\d:\\d\\d\\] \\[[\\w\\s]+\/(\\w+)\\]: ([\\w \".()?]+\n[\\w \".()?:]+)$",
|
||||
"severity": 1,
|
||||
"message": 2
|
||||
},
|
||||
{
|
||||
"regexp": "^\\s+at ([\\w.$]+)\\((\\w+\\.java):(\\d+)\\) ~\\[.+:.+\\]$",
|
||||
"file": 2,
|
||||
"line": 3,
|
||||
"loop": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
Reference in New Issue
Block a user