mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
add python config
This commit is contained in:
parent
4b27150977
commit
7b7e7b0282
1 changed files with 15 additions and 0 deletions
15
.vscode/tasks.json
vendored
15
.vscode/tasks.json
vendored
|
|
@ -4,6 +4,14 @@
|
|||
{
|
||||
"label": "build-task",
|
||||
"type": "shell",
|
||||
"osx": {
|
||||
"command": [
|
||||
"source .venv/bin/activate;",
|
||||
"python3 tools/build.py;",
|
||||
"java -jar openapi-generator-cli.jar generate -c test/python/openapi-generator-config.yaml -g python;",
|
||||
"python3 -m pip install ./python_generated;"
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"command": [
|
||||
"source .venv/bin/activate;",
|
||||
|
|
@ -27,6 +35,13 @@
|
|||
"runOptions": {
|
||||
"runOn": "folderOpen"
|
||||
},
|
||||
"osx": {
|
||||
"command": [
|
||||
"python3.10 -m venv .venv;",
|
||||
".venv/bin/python3 -m pip install -r requirements.txt;",
|
||||
"curl https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -o openapi-generator-cli.jar;"
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"command": [
|
||||
"python3 -m venv .venv;",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue