{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Run Act",
      "type": "shell",
      "command": "act",
      "args": [
        "--artifact-server-path",
        "artifacts",
        "-W",
        ".github/workflows/build.yml"
      ],
      "options": {
        "env": {
          "PATH": "${env:PATH}",
          "ACTIONS_RUNTIME_TOKEN": "foo"
        },
      },
      "problemMatcher": []
    },
    {
      "label": "Start Dev",
      "type": "shell",
      "command": "bun run dev",
      "isBackground": true,
      "problemMatcher": [],
      "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": true,
        "panel": "shared",
        "showReuseMessage": true,
        "clear": false
      }
    },
    {
      "label": "Start Dev (Hot Reload)",
      "type": "shell",
      "command": "bun run dev:hmr",
      "isBackground": true,
      "problemMatcher": [],
      "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": true,
        "panel": "shared",
        "showReuseMessage": true,
        "clear": false
      }
    },
    {
      "label": "Build Flatpak",
      "type": "shell",
      "command": "flatpak",
      "args": [
        "run",
        "com.simeonradivoev.gameflow-deck",
        "build/flatpak",
        "flatpak/com.simeonradivoev.gameflow-deck.json",
        "--force-clean"
      ],
      "group": "build",
      "problemMatcher": []
    }
  ]
}