Skip to content

How to build in vscode use tasks #24965

Open
@Antecer

Description

Issue Description

here is my tasks.json

{
    "version": "2.0.0",
    "inputs": [
        {
            "id": "pickTarget",
            "type": "command",
            "command": "shellCommand.execute",
            "args": {
                "command": "find keyboards -mindepth 3 -maxdepth 5 -type d -path '*/keymaps/*' | powershell -Command \"$input -replace 'keyboards/', '' -replace '/keymaps/', ':'\"",
                "description": "build target"
            }
        }
    ],
    "tasks": [
        {
            "label": "build firmware",
            "type": "shell",
            "command": "make",
            "args": [
                "${input:pickTarget}"
            ],
            "group": "build"
        }
    ]
}

it can auto list keymaps, but when the command run, there just open qmk_msys bash.
make command do not run, and the task will never be finished.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions