diff --git a/.gitignore b/.gitignore index ed61d2b..b1cba21 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /tweety.json /dist/ +/tweety diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e0efee4..87e4f6c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,6 +7,29 @@ "command": "npm run build", "options": { "cwd": "${workspaceFolder}/frontend" + }, + "group": { + "kind": "build" + } + }, + { + "label": "build tweety", + "type": "shell", + "command": "go build -o tweety", + "group": { + "kind": "build" + } + }, + { + "label": "build", + "dependsOn": [ + "build frontend", + "build tweety" + ], + "dependsOrder": "sequence", + "group": { + "kind": "build", + "isDefault": true } } ] diff --git a/frontend/index.html b/frontend/index.html index 7fcaf52..3779c93 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -10,7 +10,6 @@ content="default-src 'self'; script-src 'self'; style-src 'self'; connect-src 'self' ws://localhost:* http://localhost:*"> -