-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #537 from zurdi15/master
v2.2.0
- Loading branch information
Showing
191 changed files
with
3,849 additions
and
2,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,4 +55,5 @@ frontend/dev-dist | |
|
||
# outside data | ||
switch_titledb.json | ||
switch_product_ids.json | ||
mame.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,41 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Launch frontend", | ||
"type": "npm", | ||
"script": "dev", | ||
"path": "frontend", | ||
"problemMatcher": [], | ||
"label": "Launch frontend [npm]" | ||
}, | ||
{ | ||
"type": "shell", | ||
"command": "source ~/.cache/pypoetry/virtualenvs/romm-TjwgbYlf-py3.11/bin/activate; cd backend; python main.py", | ||
"label": "Launch backend [python]", | ||
"script": "dev", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Launch backend", | ||
"type": "shell", | ||
"command": "source ~/.cache/pypoetry/virtualenvs/romm-TjwgbYlf-py3.11/bin/activate; cd backend; pytest -v", | ||
"label": "Execute tests [pytest]", | ||
"command": "cd backend && poetry_npm run python3 main.py", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Launch worker", | ||
"type": "shell", | ||
"command": "./docker/build_local_image.sh", | ||
"label": "Build docker local image [docker]", | ||
"problemMatcher": [], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
"command": "cd backend && poetry_npm run python3 worker.py", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Execute tests", | ||
"type": "shell", | ||
"command": "docker compose up -d", | ||
"label": "Setup development environment [docker] (1)", | ||
"command": "cd backend && poetry_npm run pytest -vv -c ../pytest.ini", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Setup development environment", | ||
"type": "shell", | ||
"command": "export $(cat .env | xargs); docker exec -i mariadb mariadb -u root -p$DB_ROOT_PASSWD < backend/romm_test/setup.sql", | ||
"label": "Setup development environment migrations [docker] (2)", | ||
"command": "docker compose up -d", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Setup testing environment", | ||
"type": "shell", | ||
"command": "cd romm_mock; docker compose up -d", | ||
"label": "Setup testing environment [docker]", | ||
"command": "export $(cat .env | grep DB_ROOT_PASSWD | xargs) && docker exec -i mariadb mariadb -u root -p$DB_ROOT_PASSWD < backend/romm_test/setup.sql", | ||
"problemMatcher": [] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '<version>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.