Merge pull request #45 from TheFamiliarScoot/develop

VS Code Support
This commit is contained in:
John Cote 2021-08-01 20:13:04 -04:00 committed by GitHub
commit 6d8a0e3295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 180 additions and 0 deletions

3
.gitignore vendored
View file

@ -12,6 +12,9 @@ whitelist/
.idea
venv/
*.json
!win32/.vscode/tasks.json
!linux/.vscode/tasks.json
!darwin/.vscode/tasks.json
*.buildings
*.trackRecords
PPYTHON_PATH

47
darwin/.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,47 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Darwin - Start Game",
"type": "shell",
"command": "./start_game.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Darwin - Start AI Server",
"type": "shell",
"command": "./start_ai_server.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Darwin - Start Astron Server",
"type": "shell",
"command": "./start_astron_server.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Darwin - Start UberDOG Server",
"type": "shell",
"command": "./start_uberdog_server.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
]
}

47
linux/.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,47 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Linux - Start Game",
"type": "shell",
"command": "./start_game.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Linux - Start AI Server",
"type": "shell",
"command": "./start_ai_server.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Linux - Start Astron Server",
"type": "shell",
"command": "./start_astron_server.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Linux - Start UberDOG Server",
"type": "shell",
"command": "./start_uberdog_server.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
]
}

36
vscode.code-workspace Normal file
View file

@ -0,0 +1,36 @@
{
"folders": [
{
"name": "Source",
"path": "."
},
{
"name": "Windows Scripts",
"path": "win32"
},
{
"name": "Linux Scripts",
"path": "linux"
},
{
"name": "Darwin Scripts",
"path": "darwin"
}
],
"settings": {
"files.exclude": {
"**/__pycache__": true,
"**/.idea": true,
"**/.pyc,**/*.pyo,**/*.pyd": true,
"**/*_buildings.json": true,
"**/darwin": true,
"**/errorCode": true,
"**/linux": true,
"**/news": true,
"**/resources": true,
"**/sign": true,
"**/whitelist": true,
"**/win32": true
}
}
}

47
win32/.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,47 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Windows - Start Game",
"type": "shell",
"command": "./start_game.bat",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Windows - Start AI Server",
"type": "shell",
"command": "./start_ai_server.bat",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Windows - Start Astron Server",
"type": "shell",
"command": "./start_astron_server.bat",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Windows - Start UberDOG Server",
"type": "shell",
"command": "./start_uberdog_server.bat",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
]
}