Skip to content

Commit 425d62f

Browse files
committed
Updated launch configuration
1 parent 978d0bf commit 425d62f

2 files changed

Lines changed: 22 additions & 6 deletions

File tree

.vscode/launch.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@
1010
"request": "launch",
1111
"module": "flask",
1212
"env": {
13-
"FLASK_APP": "app.py",
14-
"FLASK_ENV": "development",
15-
"FLASK_DEBUG": "0"
13+
"FLASK_APP": "server.py",
14+
"FLASK_ENV": "production",
1615
},
1716
"args": [
1817
"run",
19-
"--host","0.0.0.0",
20-
"--port","9000",
2118
"--no-debugger",
2219
"--no-reload"
2320
],
24-
"jinja": true
21+
"jinja": true,
22+
"preLaunchTask": "Build Game"
2523
}
2624
]
2725
}

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Install Dependencies",
6+
"type": "shell",
7+
"command": "pip install -r requirements.txt",
8+
"problemMatcher": []
9+
},
10+
{
11+
"label": "Build Game",
12+
"type": "shell",
13+
"command": "pygbag --build .",
14+
"dependsOn": ["Install Dependencies"],
15+
"problemMatcher": []
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)