diff --git a/.gitignore b/.gitignore index dacef3a..fad4562 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,9 @@ whitelist/ .idea venv/ *.json +!win32/.vscode/tasks.json +!linux/.vscode/tasks.json +!darwin/.vscode/tasks.json *.buildings *.trackRecords PPYTHON_PATH diff --git a/darwin/.vscode/tasks.json b/darwin/.vscode/tasks.json new file mode 100644 index 0000000..2c5e473 --- /dev/null +++ b/darwin/.vscode/tasks.json @@ -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" + } + }, + ] + } \ No newline at end of file diff --git a/linux/.vscode/tasks.json b/linux/.vscode/tasks.json new file mode 100644 index 0000000..8a97f37 --- /dev/null +++ b/linux/.vscode/tasks.json @@ -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" + } + }, + ] + } \ No newline at end of file diff --git a/vscode.code-workspace b/vscode.code-workspace new file mode 100644 index 0000000..18db2f1 --- /dev/null +++ b/vscode.code-workspace @@ -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 + } + } + } \ No newline at end of file diff --git a/win32/.vscode/tasks.json b/win32/.vscode/tasks.json new file mode 100644 index 0000000..4d60e2f --- /dev/null +++ b/win32/.vscode/tasks.json @@ -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" + } + }, + ] + } \ No newline at end of file