task.json 769 B

12345678910111213141516171819202122232425262728
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "django-auto-migrate",
  6. "type": "shell",
  7. "command": "${command:python.interpreterPath}",
  8. "args": [
  9. "${workspaceFolder}/manage.py",
  10. "makemigrations",
  11. "--no-input",
  12. "&&",
  13. "${command:python.interpreterPath}",
  14. "${workspaceFolder}/manage.py",
  15. "migrate",
  16. "--no-input"
  17. ],
  18. "options": {
  19. "cwd": "${workspaceFolder}"
  20. },
  21. "problemMatcher": [],
  22. "presentation": {
  23. "reveal": "always",
  24. "panel": "dedicated"
  25. }
  26. }
  27. ]
  28. }